mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +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: {},
|
||||
});
|
||||
|
||||
expect(res.statusCode).toBe(400);
|
||||
expect(res.body.error.name).toBe('ApplicationError');
|
||||
expect(res.body.error.message).toBe('You must be authenticated to reset your password');
|
||||
expect(res.statusCode).toBe(403);
|
||||
expect(res.body.error.name).toBe('ForbiddenError');
|
||||
expect(res.body.error.message).toBe('Forbidden');
|
||||
});
|
||||
|
||||
test('Fails on invalid confirmation password', async () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user