diff --git a/test/surface/fetch-pod-root.test.ts b/test/surface/fetch-pod-root.test.ts index f4e4b1c..bab553f 100644 --- a/test/surface/fetch-pod-root.test.ts +++ b/test/surface/fetch-pod-root.test.ts @@ -31,7 +31,9 @@ describe("Alice's storage root", () => { ); mock.fetch = async (url: string): Promise => { const headers = await getAuthHeaders(url, "GET", authFetcher); - + // Work around https://github.com/solid-contrib/solid-auth-fetcher/pull/33 + headers["Authorization"] = "dpop " + headers["Authorization"]; + console.log(headers); (headers as any).Accept = "text/turtle"; const result = await fetch(url, { headers,