Fixed failing regression tests

refs 32b37d7ba8

- Some of the regression tests were broken after changes in referenced commit
This commit is contained in:
Nazar Gargol 2020-09-22 16:13:57 +12:00
parent 32b37d7ba8
commit 5766b39be6
2 changed files with 2 additions and 2 deletions

View File

@ -413,7 +413,7 @@ describe('Authentication API v2', function () {
.then((res) => {
should.exist(res.body.errors);
res.body.errors[0].type.should.eql('UnauthorizedError');
res.body.errors[0].message.should.eql('Invalid token structure');
res.body.errors[0].message.should.eql('Cannot reset password.');
});
});

View File

@ -289,7 +289,7 @@ describe('Authentication API v3', function () {
.then((res) => {
should.exist(res.body.errors);
res.body.errors[0].type.should.eql('UnauthorizedError');
res.body.errors[0].message.should.eql('Invalid token structure');
res.body.errors[0].message.should.eql('Cannot reset password.');
});
});