Procházet zdrojové kódy

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

sbkwgh před 8 roky
rodič
revize
b31c15236b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)