Skip to content

The agent that grows with you

fix(desktop): expect the current per-connection partition suffix in the pre-save login test

Brooklyn Nicholson3d96cdc87573
diff --git a/apps/desktop/electron/oauth-partition.test.ts b/apps/desktop/electron/oauth-partition.test.ts
index 0776c91c635..c964a5b6d5a 100644
--- a/apps/desktop/electron/oauth-partition.test.ts
+++ b/apps/desktop/electron/oauth-partition.test.ts
@@ -171,7 +171,7 @@ describe('resolveOauthPartition with connectionId (pre-save sign-in identity)',
const got = resolveOauthPartition('https://macmini.lan:9119', { registry: reg, connectionId: 'macmini' })
expect(got).not.toBe(LEGACY_OAUTH_PARTITION)
- expect(got).toContain('conn:macmini')
+ expect(got).toContain('conn-macmini')
// Deterministic across calls — the saved entry must read the jar the login wrote.
expect(resolveOauthPartition('https://macmini.lan:9119', { registry: reg, connectionId: 'macmini' })).toBe(got)
})