f102_test_KeineListeVorhanden #33
@@ -25,7 +25,7 @@ describe('API-Endpoints: list', () => {
|
|||||||
expect(response.status).toBe(401);
|
expect(response.status).toBe(401);
|
||||||
|
|
||||||
const json = await response.json();
|
const json = await response.json();
|
||||||
const errorObj = { error: 'Unauthorized' }
|
const errorObj = { error: 'Unauthorized' };
|
||||||
expect(json).toEqual(errorObj);
|
expect(json).toEqual(errorObj);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user