mirror of
https://github.com/strapi/strapi.git
synced 2026-01-07 12:45:45 +00:00
Fix strapi-admin e2e tests
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
This commit is contained in:
parent
baf96a6456
commit
4b7424f6ef
@ -55,7 +55,8 @@ describe('Admin User CRUD End to End', () => {
|
||||
expect(res.body).toMatchObject({
|
||||
statusCode: 400,
|
||||
error: 'Bad Request',
|
||||
message: {
|
||||
message: 'ValidationError',
|
||||
data: {
|
||||
email: ['email is a required field'],
|
||||
},
|
||||
});
|
||||
@ -79,7 +80,8 @@ describe('Admin User CRUD End to End', () => {
|
||||
expect(res.body).toMatchObject({
|
||||
statusCode: 400,
|
||||
error: 'Bad Request',
|
||||
message: {
|
||||
message: 'ValidationError',
|
||||
data: {
|
||||
firstname: ['firstname must be a `string` type, but the final value was: `1`.'],
|
||||
},
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user