mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
fix(error-handler): test
This commit is contained in:
parent
d5a7d7c8e7
commit
56089dbdf9
@ -112,7 +112,7 @@ describe('create with exception', () => {
|
||||
|
||||
expect(response.statusCode).toEqual(400);
|
||||
|
||||
expect(response.body['errors'][0]['message']).toBe('name must be unique');
|
||||
expect(response.body['errors'][0]['message']).toBe('name already exists');
|
||||
});
|
||||
|
||||
it('should render error with field title', async () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user