Explorar el Código

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

sbkwgh hace 8 años
padre
commit
b31c15236b
Se han modificado 1 ficheros con 1 adiciones y 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)