mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Fix tests
This commit is contained in:
parent
1b0f25cd7f
commit
d6cc73a278
@ -72,7 +72,7 @@ it("should fail when cookies are missing", async ({ expect }) => {
|
||||
expect(response).toMatchInlineSnapshot(`
|
||||
NiceResponse {
|
||||
"status": 400,
|
||||
"body": "OAuth cookie not found. This is likely because you refreshed the page during the OAuth sign in process. Please try signing in again",
|
||||
"body": "Inner OAuth cookie not found. This is likely because you refreshed the page during the OAuth sign in process. Please try signing in again",
|
||||
"headers": Headers {
|
||||
"set-cookie": <deleting cookie 'stack-oauth-inner-<stripped cookie name key>' at path '/'>,
|
||||
<some fields may have been hidden>,
|
||||
@ -166,7 +166,7 @@ it("should fail when inner callback has invalid state", async ({ expect }) => {
|
||||
expect(response).toMatchInlineSnapshot(`
|
||||
NiceResponse {
|
||||
"status": 400,
|
||||
"body": "OAuth cookie not found. This is likely because you refreshed the page during the OAuth sign in process. Please try signing in again",
|
||||
"body": "Inner OAuth cookie not found. This is likely because you refreshed the page during the OAuth sign in process. Please try signing in again",
|
||||
"headers": Headers {
|
||||
"set-cookie": <deleting cookie 'stack-oauth-inner-<stripped cookie name key>' at path '/'>,
|
||||
<some fields may have been hidden>,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user