From 0c880a6e8309976e4fee3898c45fabca2093cd77 Mon Sep 17 00:00:00 2001 From: Makisuo Date: Thu, 22 Oct 2026 18:26:21 +0200 Subject: [PATCH] test(integrations): pass the initiator in the GitHub install admin tests #1685's account-admin cases called completeConnect without the initiator #1675 made required, so the call failed before the role lookup and every case read no role URLs. Main has failed these 6 tests since both landed. Co-Authored-By: Claude Opus 5.5 --- .../vcs/vendor/github/__tests__/GithubConnectService.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/services/integrations/vcs/vendor/github/__tests__/GithubConnectService.test.ts b/packages/backend/src/services/integrations/vcs/vendor/github/__tests__/GithubConnectService.test.ts index 092be77215..4bff2afe0b 100644 --- a/packages/backend/src/services/integrations/vcs/vendor/github/__tests__/GithubConnectService.test.ts +++ b/packages/backend/src/services/integrations/vcs/vendor/github/__tests__/GithubConnectService.test.ts @@ -279,7 +279,7 @@ describe("GithubConnectService", () => { const { state } = yield* svc.startConnect(asOrgId("org_test"), asUserId("user_1"), { callbackUrl: "https://tunnel.example/cb", }) - const exit = yield* svc.completeConnect("42", state, TEST_CODE).pipe(Effect.exit) + const exit = yield* svc.completeConnect("42", state, TEST_CODE, INITIATOR).pipe(Effect.exit) assert.deepStrictEqual(roleUrls, [ c.account === "Organization" ? "/user/memberships/orgs/octo" : "/user", ])