@@ -131,6 +131,7 @@ describe('GET /api/teams/:id/runners after adding', () => {
|
||||
});
|
||||
it('check if scans was added via the orgs/runners endpoint.', async () => {
|
||||
const res = await axios.get(base + '/api/teams/' + added_team.id + "/runners", axios_config);
|
||||
console.log(res.data);
|
||||
expect(res.status).toEqual(200);
|
||||
expect(res.headers['content-type']).toContain("application/json");
|
||||
expect(res.data).toContainEqual(added_runner);
|
||||
|
||||
Reference in New Issue
Block a user