password change api now returns 400 instead of 403

This commit is contained in:
Johannes Zellner
2019-05-13 23:46:38 +02:00
parent 4c56ffc767
commit c2f464ea75
2 changed files with 2 additions and 2 deletions

View File

@@ -248,7 +248,7 @@ describe('Profile API', function () {
.query({ access_token: token_0 })
.send({ password: 'some wrong password', newPassword: 'MOre#$%34' })
.end(function (err, res) {
expect(res.statusCode).to.equal(403);
expect(res.statusCode).to.equal(400);
done();
});
});