parent
80ef7e8c3a
commit
71e5be2ba4
|
@ -44,4 +44,11 @@ describe('adding org', () => {
|
|||
expect(res3.status).toEqual(404);
|
||||
expect(res3.headers['content-type']).toContain("application/json")
|
||||
});
|
||||
});
|
||||
});
|
||||
// ---------------
|
||||
describe('adding + deletion (non-existant)', () => {
|
||||
it('delete', async () => {
|
||||
const res2 = await axios.delete(base + '/api/teams/0', { validateStatus: undefined });
|
||||
expect(res2.status).toEqual(204);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue