From 304073eb9a300556833a2e8c155aa501d1928033 Mon Sep 17 00:00:00 2001 From: angrykoala Date: Fri, 26 Jul 2024 14:03:33 +0100 Subject: [PATCH] Fix multidb support on 5378 --- packages/graphql/tests/integration/issues/5378.int.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/graphql/tests/integration/issues/5378.int.test.ts b/packages/graphql/tests/integration/issues/5378.int.test.ts index 103b86b7d9..0dcdf58478 100644 --- a/packages/graphql/tests/integration/issues/5378.int.test.ts +++ b/packages/graphql/tests/integration/issues/5378.int.test.ts @@ -47,7 +47,7 @@ describe("https://github.com/neo4j/graphql/issues/5378", () => { }); beforeEach(async () => { - if (MULTIDB_SUPPORT) { + if (!MULTIDB_SUPPORT) { return; } Space = testHelper.createUniqueType("Space"); @@ -73,7 +73,9 @@ describe("https://github.com/neo4j/graphql/issues/5378", () => { }); afterEach(async () => { - await testHelper.close(); + if (MULTIDB_SUPPORT) { + await testHelper.close(); + } }); afterAll(async () => {