Adjusted test for the new response depth

ref #140
This commit is contained in:
Nicolai Ort 2021-02-08 16:46:07 +01:00
parent 701706c028
commit 5872c6335b

View File

@ -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);
expect(res.status).toEqual(200);
expect(res.headers['content-type']).toContain("application/json");
delete added_runner.group.parentGroup;
expect(res.data).toContainEqual(added_runner);
});
});