diff --git a/client/src/__tests__/proxyFetchEndpoint.test.ts b/client/src/__tests__/proxyFetchEndpoint.test.ts index 9deec8f6..f23f8d9f 100644 --- a/client/src/__tests__/proxyFetchEndpoint.test.ts +++ b/client/src/__tests__/proxyFetchEndpoint.test.ts @@ -47,7 +47,7 @@ describe("POST /fetch endpoint", () => { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ - url: "https://example.com/", + url: "http://example.com/", init: { method: "GET" }, }), }); @@ -64,7 +64,7 @@ describe("POST /fetch endpoint", () => { "X-MCP-Proxy-Auth": "Bearer wrong-token", }, body: JSON.stringify({ - url: "https://example.com/", + url: "http://example.com/", init: { method: "GET" }, }), }); @@ -79,7 +79,7 @@ describe("POST /fetch endpoint", () => { "X-MCP-Proxy-Auth": `Bearer ${TEST_TOKEN}`, }, body: JSON.stringify({ - url: "https://example.com/", + url: "http://example.com/", init: { method: "GET" }, }), }); diff --git a/client/src/components/__tests__/AuthDebugger.test.tsx b/client/src/components/__tests__/AuthDebugger.test.tsx index 328419d0..71eec04a 100644 --- a/client/src/components/__tests__/AuthDebugger.test.tsx +++ b/client/src/components/__tests__/AuthDebugger.test.tsx @@ -807,6 +807,7 @@ describe("AuthDebugger", () => { expect(mockDiscoverAuthorizationServerMetadata).toHaveBeenCalledWith( new URL("https://custom-auth.example.com/mcp/tenant"), + { fetchFn: undefined }, ); });