mirror of
https://github.com/strapi/strapi.git
synced 2025-11-17 02:28:30 +00:00
Update UP e2e test following API token V2 release
This commit is contained in:
parent
fa503ef438
commit
47a5516a60
@ -45,9 +45,9 @@ describe('Auth API', () => {
|
|||||||
body: {},
|
body: {},
|
||||||
});
|
});
|
||||||
|
|
||||||
expect(res.statusCode).toBe(400);
|
expect(res.statusCode).toBe(403);
|
||||||
expect(res.body.error.name).toBe('ApplicationError');
|
expect(res.body.error.name).toBe('ForbiddenError');
|
||||||
expect(res.body.error.message).toBe('You must be authenticated to reset your password');
|
expect(res.body.error.message).toBe('Forbidden');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Fails on invalid confirmation password', async () => {
|
test('Fails on invalid confirmation password', async () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user