Explorar o código

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

sbkwgh %!s(int64=8) %!d(string=hai) anos
pai
achega
b31c15236b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)