parent
80ef7e8c3a
commit
71e5be2ba4
@ -45,3 +45,10 @@ describe('adding org', () => {
|
|||||||
expect(res3.headers['content-type']).toContain("application/json")
|
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…
x
Reference in New Issue
Block a user