Fixed typos

This commit is contained in:
Nicolai Ort 2020-12-09 19:20:19 +01:00
parent f4abbfcee4
commit 5845a91f15
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ describe('adding org', () => {
expect(res2.status).toEqual(200);
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);
expect(res2.status).toEqual(200);
expect(res2.headers['content-type']).toContain("application/json")
@ -39,7 +39,7 @@ describe('adding org', () => {
"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 });
expect(res3.status).toEqual(404);
expect(res3.headers['content-type']).toContain("application/json")