test(ui): drop the vacuous access_token assertion from the preview invalidation test

The staged access token never reaches formValues (it is not a registered form field), so the
assertion could not fail; the DCR client pair is the leak the test actually pins, proven by the
mutation run
This commit is contained in:
Tin 2026-07-09 13:53:59 -07:00
parent c75184bec9
commit e720b5e25a

View file

@ -744,7 +744,6 @@ describe("CreateMCPServer", () => {
for (const call of vi.mocked(networking.testMCPToolsListRequest).mock.calls) {
expect(call[1]?.credentials?.client_id).not.toBe("client-a");
expect(call[1]?.credentials?.client_secret).not.toBe("secret-a");
expect(call[1]?.credentials?.access_token).not.toBe("stale-tok");
}
});