Adjusted test for the new response depth
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
ref #140
This commit is contained in:
parent
906a1dc9e7
commit
90e1ad7db7
@ -133,7 +133,6 @@ 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