Unified · Split
| @@ -1308,7 +1308,7 @@ describe("local-executor-server", () => { · 1307 unmodified lines | |||
| 1308 | }, | 1308 | }, |
| 1309 | }); | 1309 | }); |
| 1310 | const source = sources.find((entry) => entry.namespace === "axiom"); | 1310 | const source = sources.find((entry) => entry.namespace === "axiom"); |
| 1311 | if (source?.status === "connected" && source.auth.kind === "oauth2") { | 1311 | if (source?.status === "connected" && source.auth.kind === "mcp_oauth") { |
| 1312 | return source; | 1312 | return source; |
| 1313 | } | 1313 | } |
| 1314 | 1314 | ||
| @@ -1318,7 +1318,7 @@ describe("local-executor-server", () => { · 3 unmodified lines | |||
| 1318 | 1318 | ||
| 1319 | expect(connectedSource.name).toBe("Axiom"); | 1319 | expect(connectedSource.name).toBe("Axiom"); |
| 1320 | expect(connectedSource.status).toBe("connected"); | 1320 | expect(connectedSource.status).toBe("connected"); |
| 1321 | expect(connectedSource.auth.kind).toBe("oauth2"); | 1321 | expect(connectedSource.auth.kind).toBe("mcp_oauth"); |
| 1322 | 1322 | ||
| 1323 | const toolCall = yield* client.executions.create({ | 1323 | const toolCall = yield* client.executions.create({ |
| 1324 | path: { | 1324 | path: { |
| @@ -1355,7 +1355,7 @@ describe("local-executor-server", () => { · 30 unmodified lines | |||
| 1355 | expect(approvedToolCall.pendingInteraction).toBeNull(); | 1355 | expect(approvedToolCall.pendingInteraction).toBeNull(); |
| 1356 | expect(approvedToolCall.execution.resultJson).toContain("oauth-demo"); | 1356 | expect(approvedToolCall.execution.resultJson).toContain("oauth-demo"); |
| 1357 | }), | 1357 | }), |
| 1358 | 60_000, | 1358 | 15_000, |
| 1359 | ); | 1359 | ); |
| 1360 | 1360 | ||
| 1361 | it.scoped("gates mutating OpenAPI tools by default and allows them via workspace policy", () => | 1361 | it.scoped("gates mutating OpenAPI tools by default and allows them via workspace policy", () => |