API returns 403 for incorrect password

This commit is contained in:
Girish Ramakrishnan
2018-06-20 09:27:24 -07:00
parent 8a84872704
commit 7880a2f9c3
4 changed files with 5 additions and 5 deletions

View File

@@ -255,7 +255,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(401);
expect(res.statusCode).to.equal(403);
done();
});
});