浏览代码

Change test for short string to see if it passes when new password is blank

sbkwgh 8 年之前
父节点
当前提交
b31c15236b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/user.js

+ 1 - 1
test/user.js

@@ -686,7 +686,7 @@ describe('User', () => {
 				.set('content-type', 'application/json')
 				.send({
 					currentPassword: 'qwertyuiop',
-					newPassword: 'a'
+					newPassword: ''
 				})
 				.end((err, res) => {
 					res.should.have.status(400)