From 90e1ad7db72732d13002c87461c33560b74befa6 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Mon, 8 Feb 2021 16:51:09 +0100 Subject: [PATCH] Adjusted test for the new response depth ref #140 --- src/tests/runners/runner_get.spec.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tests/runners/runner_get.spec.ts b/src/tests/runners/runner_get.spec.ts index 177dcfe..b80afc2 100644 --- a/src/tests/runners/runner_get.spec.ts +++ b/src/tests/runners/runner_get.spec.ts @@ -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); expect(res.status).toEqual(200); expect(res.headers['content-type']).toContain("application/json"); - delete added_runner.group.parentGroup; expect(res.data).toContainEqual(added_runner); }); }); \ No newline at end of file