mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03: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
@ -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…
Reference in New Issue
Block a user