fix(error-handler): test

This commit is contained in:
xilesun 2024-11-07 21:56:11 +08:00
parent d5a7d7c8e7
commit 56089dbdf9

View File

@ -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 () => {