mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Fixed failing regression tests
refs 32b37d7ba8
- Some of the regression tests were broken after changes in referenced commit
This commit is contained in:
parent
32b37d7ba8
commit
5766b39be6
2 changed files with 2 additions and 2 deletions
|
@ -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.');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -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.');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue