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; }); }); });