Repository navigation
Fix the GitHub install admin tests that broke main - #1698
Merged
Merged
Maple Review Bot / Maple / review
succeeded
Oct 22, 2026 in 12s
Confidence 10/10 · No issues found
🟢 Confidence 10/10 · safe to merge
One-argument test fix in a case loop; the state minted at line 279 carries the same org and user the case now passes.
no findings · tests covered · risk low
Passes the OAuthFlowInitiator that completeConnect requires in the six adminCases of GithubConnectService.test.ts, so the call reaches the role lookup instead of failing on state consumption. Safe to merge.
adminCasesinGithubConnectService.test.tspassINITIATORtocompleteConnect
What was checked
startConnectat test line 279 mints the state fororg_test/user_1, the same pair inINITIATOR(line 55), sostates.consumeaccepts it- The cases still assert the role URL was hit, and
bound/queue outcomes, so a refusal before the role lookup still fails the test
0c880a6 · Updated on every push. Reply "won't fix" to dismiss a finding, or mention @maple-review-bot to ask about one.
Loading