Fixed typos
This commit is contained in:
parent
f4abbfcee4
commit
5845a91f15
@ -27,7 +27,7 @@ describe('adding org', () => {
|
|||||||
expect(res2.status).toEqual(200);
|
expect(res2.status).toEqual(200);
|
||||||
expect(res2.headers['content-type']).toContain("application/json")
|
expect(res2.headers['content-type']).toContain("application/json")
|
||||||
});
|
});
|
||||||
it('delete', async () => {
|
it('delete team', async () => {
|
||||||
const res2 = await axios.delete(base + '/api/teams/' + added_team_id);
|
const res2 = await axios.delete(base + '/api/teams/' + added_team_id);
|
||||||
expect(res2.status).toEqual(200);
|
expect(res2.status).toEqual(200);
|
||||||
expect(res2.headers['content-type']).toContain("application/json")
|
expect(res2.headers['content-type']).toContain("application/json")
|
||||||
@ -39,7 +39,7 @@ describe('adding org', () => {
|
|||||||
"contact": null
|
"contact": null
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
it('check if org really was deleted', async () => {
|
it('check if team really was deleted', async () => {
|
||||||
const res3 = await axios.get(base + '/api/teams/' + added_team_id, { validateStatus: undefined });
|
const res3 = await axios.get(base + '/api/teams/' + added_team_id, { validateStatus: undefined });
|
||||||
expect(res3.status).toEqual(404);
|
expect(res3.status).toEqual(404);
|
||||||
expect(res3.headers['content-type']).toContain("application/json")
|
expect(res3.headers['content-type']).toContain("application/json")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user