mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
enforce FEDERATION_API 1.0 on getpublicKey Resolver
This commit is contained in:
parent
30da53d4b1
commit
97513c1b25
@ -3,12 +3,15 @@
|
|||||||
import { createTestClient } from 'apollo-server-testing'
|
import { createTestClient } from 'apollo-server-testing'
|
||||||
import createServer from '@/server/createServer'
|
import createServer from '@/server/createServer'
|
||||||
import { FederatedCommunity as DbFederatedCommunity } from '@entity/FederatedCommunity'
|
import { FederatedCommunity as DbFederatedCommunity } from '@entity/FederatedCommunity'
|
||||||
|
import CONFIG from '@/config'
|
||||||
|
|
||||||
let query: any
|
let query: any
|
||||||
|
|
||||||
// to do: We need a setup for the tests that closes the connection
|
// to do: We need a setup for the tests that closes the connection
|
||||||
let con: any
|
let con: any
|
||||||
|
|
||||||
|
CONFIG.FEDERATION_API = '1_0'
|
||||||
|
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
const server = await createServer()
|
const server = await createServer()
|
||||||
con = server.con
|
con = server.con
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user