Skip to content

Commit

Permalink
sadfa
Browse files Browse the repository at this point in the history
  • Loading branch information
N2D4 committed Jul 20, 2024
1 parent cd0bd31 commit 0eb6710
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ it("should redirect the user to the OAuth provider with the right arguments", as
});
expect(response.status).toBe(307);
expect(response.headers.get("location")).toMatch(/^http:\/\/localhost:8107\/auth\?.*$/);
expect(response.headers.get("set-cookie")).toMatch(/^stack-oauth-inner-[^;]+=[^;]+; Path=\/; Expires=[^;]+; Max-Age=\d+; Secure; HttpOnly$/);
expect(response.headers.get("set-cookie")).toMatch(/^stack-oauth-inner-[^;]+=[^;]+; Path=\/; Expires=[^;]+; Max-Age=\d+; HttpOnly$/);
});

it("should fail if an invalid client_id is provided", async ({ expect }) => {
Expand Down

0 comments on commit 0eb6710

Please sign in to comment.