diff --git a/backend/src/graphql/resolver/CommunityResolver.test.ts b/backend/src/graphql/resolver/CommunityResolver.test.ts index 58dc6a90c..bb58b3e5b 100644 --- a/backend/src/graphql/resolver/CommunityResolver.test.ts +++ b/backend/src/graphql/resolver/CommunityResolver.test.ts @@ -164,7 +164,7 @@ describe('CommunityResolver', () => { id: 3, foreign: homeCom3.foreign, publicKey: expect.stringMatching(ed25519KeyPairStaticHex[2].public), - url: expect.stringMatching('http://localhost/api/2_0'), + endPoint: expect.stringMatching('http://localhost/api/'), lastAnnouncedAt: null, verifiedAt: null, lastErrorAt: null, @@ -175,7 +175,7 @@ describe('CommunityResolver', () => { id: 2, foreign: homeCom2.foreign, publicKey: expect.stringMatching(ed25519KeyPairStaticHex[1].public), - url: expect.stringMatching('http://localhost/api/1_1'), + endPoint: expect.stringMatching('http://localhost/api/'), lastAnnouncedAt: null, verifiedAt: null, lastErrorAt: null, @@ -186,7 +186,7 @@ describe('CommunityResolver', () => { id: 1, foreign: homeCom1.foreign, publicKey: expect.stringMatching(ed25519KeyPairStaticHex[0].public), - url: expect.stringMatching('http://localhost/api/1_0'), + endPoint: expect.stringMatching('http://localhost/api/'), lastAnnouncedAt: null, verifiedAt: null, lastErrorAt: null, @@ -236,7 +236,7 @@ describe('CommunityResolver', () => { id: 3, foreign: homeCom3.foreign, publicKey: expect.stringMatching(ed25519KeyPairStaticHex[2].public), - url: expect.stringMatching('http://localhost/api/2_0'), + endPoint: expect.stringMatching('http://localhost/api/'), lastAnnouncedAt: null, verifiedAt: null, lastErrorAt: null, @@ -247,7 +247,7 @@ describe('CommunityResolver', () => { id: 2, foreign: homeCom2.foreign, publicKey: expect.stringMatching(ed25519KeyPairStaticHex[1].public), - url: expect.stringMatching('http://localhost/api/1_1'), + endPoint: expect.stringMatching('http://localhost/api/'), lastAnnouncedAt: null, verifiedAt: null, lastErrorAt: null, @@ -258,7 +258,7 @@ describe('CommunityResolver', () => { id: 1, foreign: homeCom1.foreign, publicKey: expect.stringMatching(ed25519KeyPairStaticHex[0].public), - url: expect.stringMatching('http://localhost/api/1_0'), + endPoint: expect.stringMatching('http://localhost/api/'), lastAnnouncedAt: null, verifiedAt: null, lastErrorAt: null, @@ -269,7 +269,7 @@ describe('CommunityResolver', () => { id: 6, foreign: foreignCom3.foreign, publicKey: expect.stringMatching(ed25519KeyPairStaticHex[5].public), - url: expect.stringMatching('http://remotehost/api/1_2'), + endPoint: expect.stringMatching('http://remotehost/api/'), lastAnnouncedAt: null, verifiedAt: null, lastErrorAt: null, @@ -280,7 +280,7 @@ describe('CommunityResolver', () => { id: 5, foreign: foreignCom2.foreign, publicKey: expect.stringMatching(ed25519KeyPairStaticHex[4].public), - url: expect.stringMatching('http://remotehost/api/1_1'), + endPoint: expect.stringMatching('http://remotehost/api/'), lastAnnouncedAt: null, verifiedAt: null, lastErrorAt: null, @@ -291,7 +291,7 @@ describe('CommunityResolver', () => { id: 4, foreign: foreignCom1.foreign, publicKey: expect.stringMatching(ed25519KeyPairStaticHex[3].public), - url: expect.stringMatching('http://remotehost/api/1_0'), + endPoint: expect.stringMatching('http://remotehost/api/'), lastAnnouncedAt: null, verifiedAt: null, lastErrorAt: null,