From bb2871ae66cfea33b4475cc4c340acb791b3d088 Mon Sep 17 00:00:00 2001 From: Claus-Peter Huebner Date: Thu, 5 Oct 2023 00:08:46 +0200 Subject: [PATCH] add CONFIG.FEDERATION_XCOM_SENDCOINS_ENABLED=true in X-Com-Test --- backend/src/graphql/resolver/TransactionResolver.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/graphql/resolver/TransactionResolver.test.ts b/backend/src/graphql/resolver/TransactionResolver.test.ts index 0bb05ca76..846060914 100644 --- a/backend/src/graphql/resolver/TransactionResolver.test.ts +++ b/backend/src/graphql/resolver/TransactionResolver.test.ts @@ -34,6 +34,7 @@ import { bobBaumeister } from '@/seeds/users/bob-baumeister' import { garrickOllivander } from '@/seeds/users/garrick-ollivander' import { peterLustig } from '@/seeds/users/peter-lustig' import { stephenHawking } from '@/seeds/users/stephen-hawking' +import { CONFIG } from '@/config' let mutate: ApolloServerTestClient['mutate'], con: Connection let query: ApolloServerTestClient['query'] @@ -605,6 +606,7 @@ describe('send coins', () => { describe('X-Com send coins via gradido ID', () => { beforeAll(async () => { + CONFIG.FEDERATION_XCOM_SENDCOINS_ENABLED = true fedForeignCom = DbFederatedCommunity.create() fedForeignCom.apiVersion = '1_0' fedForeignCom.foreign = true