From 3970de06f167215a467d81e7bbe39ddb98aae18c Mon Sep 17 00:00:00 2001 From: Marc-Roig Date: Sat, 11 Feb 2023 22:01:10 +0100 Subject: [PATCH] remove unnecessary code --- packages/plugins/graphql/tests/dp-relations.test.api.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/plugins/graphql/tests/dp-relations.test.api.js b/packages/plugins/graphql/tests/dp-relations.test.api.js index a0a4398397..584347518f 100644 --- a/packages/plugins/graphql/tests/dp-relations.test.api.js +++ b/packages/plugins/graphql/tests/dp-relations.test.api.js @@ -252,9 +252,6 @@ describe('Test Graphql Relations with Draft and Publish enabled', () => { }, }, }); - - // assign for later use - data.labels = res.body.data.labels.data; }); test('List labels with preview documents', async () => { @@ -307,9 +304,6 @@ describe('Test Graphql Relations with Draft and Publish enabled', () => { }, }, }); - - // assign for later use - data.labels = res.body.data.labels.data; }); }); });