parent
701706c028
commit
5872c6335b
@ -133,6 +133,7 @@ describe('GET /api/teams/:id/runners after adding', () => {
|
|||||||
const res = await axios.get(base + '/api/teams/' + added_team.id + "/runners", axios_config);
|
const res = await axios.get(base + '/api/teams/' + added_team.id + "/runners", axios_config);
|
||||||
expect(res.status).toEqual(200);
|
expect(res.status).toEqual(200);
|
||||||
expect(res.headers['content-type']).toContain("application/json");
|
expect(res.headers['content-type']).toContain("application/json");
|
||||||
|
delete added_runner.group.parentGroup;
|
||||||
expect(res.data).toContainEqual(added_runner);
|
expect(res.data).toContainEqual(added_runner);
|
||||||
});
|
});
|
||||||
});
|
});
|
Loading…
x
Reference in New Issue
Block a user