Skip to content

Commit

Permalink
Applied refresh token management changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NSeydoux committed Oct 30, 2020
1 parent 2ed5a4a commit 4080b26
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ describe("buildDpopFetch", () => {
it("builds the appropriate DPoP header for a given HTTP verb.", async () => {
mockFetch(mockNotRedirectedResponse());
const key = await generateJwkForDpop();
const myFetch = await buildDpopFetch("myToken", undefined, key);
const myFetch = await buildDpopFetch("myToken", undefined, key);
await myFetch("http://some.url", {
method: "POST",
});
Expand Down Expand Up @@ -222,7 +222,7 @@ describe("buildDpopFetch", () => {
);

const key = await generateJwkForDpop();
const myFetch = await buildDpopFetch("myToken", key);
const myFetch = await buildDpopFetch("myToken", undefined, key);
const response = await myFetch("https://my.pod/container");

expect(
Expand All @@ -245,7 +245,7 @@ describe("buildDpopFetch", () => {
);

const key = await generateJwkForDpop();
const myFetch = await buildDpopFetch("myToken", key);
const myFetch = await buildDpopFetch("myToken", undefined, key);
const response = await myFetch("https://my.pod/resource");

expect(
Expand Down

0 comments on commit 4080b26

Please sign in to comment.