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
20c9691d4f
commit
1b5601c991
@ -41,6 +41,8 @@ it("should allow valid code and return offer data", async ({ expect }) => {
|
||||
"charges_enabled": false,
|
||||
"conflicting_products": [],
|
||||
"product": {
|
||||
"client_metadata": null,
|
||||
"client_read_only_metadata": null,
|
||||
"customer_type": "user",
|
||||
"display_name": "Test Product",
|
||||
"included_items": {},
|
||||
@ -53,6 +55,7 @@ it("should allow valid code and return offer data", async ({ expect }) => {
|
||||
],
|
||||
},
|
||||
},
|
||||
"server_metadata": null,
|
||||
"server_only": false,
|
||||
"stackable": false,
|
||||
},
|
||||
@ -221,6 +224,8 @@ it("should include conflicting_group_offers when switching within the same group
|
||||
},
|
||||
],
|
||||
"product": {
|
||||
"client_metadata": null,
|
||||
"client_read_only_metadata": null,
|
||||
"customer_type": "user",
|
||||
"display_name": "Offer B",
|
||||
"included_items": {},
|
||||
@ -233,6 +238,7 @@ it("should include conflicting_group_offers when switching within the same group
|
||||
],
|
||||
},
|
||||
},
|
||||
"server_metadata": null,
|
||||
"server_only": false,
|
||||
"stackable": false,
|
||||
},
|
||||
|
||||
@ -41,6 +41,8 @@ it("should allow valid code and return product data", async ({ expect }) => {
|
||||
"charges_enabled": false,
|
||||
"conflicting_products": [],
|
||||
"product": {
|
||||
"client_metadata": null,
|
||||
"client_read_only_metadata": null,
|
||||
"customer_type": "user",
|
||||
"display_name": "Test Product",
|
||||
"included_items": {},
|
||||
@ -53,6 +55,7 @@ it("should allow valid code and return product data", async ({ expect }) => {
|
||||
],
|
||||
},
|
||||
},
|
||||
"server_metadata": null,
|
||||
"server_only": false,
|
||||
"stackable": false,
|
||||
},
|
||||
@ -221,6 +224,8 @@ it("should include conflicting_products when switching within the same group", a
|
||||
},
|
||||
],
|
||||
"product": {
|
||||
"client_metadata": null,
|
||||
"client_read_only_metadata": null,
|
||||
"customer_type": "user",
|
||||
"display_name": "Product B",
|
||||
"included_items": {},
|
||||
@ -233,6 +238,7 @@ it("should include conflicting_products when switching within the same group", a
|
||||
],
|
||||
},
|
||||
},
|
||||
"server_metadata": null,
|
||||
"server_only": false,
|
||||
"stackable": false,
|
||||
},
|
||||
@ -313,6 +319,8 @@ it("should reject untrusted return_url and accept trusted return_url", async ({
|
||||
"charges_enabled": false,
|
||||
"conflicting_products": [],
|
||||
"product": {
|
||||
"client_metadata": null,
|
||||
"client_read_only_metadata": null,
|
||||
"customer_type": "user",
|
||||
"display_name": "Test Product",
|
||||
"included_items": {},
|
||||
@ -325,6 +333,7 @@ it("should reject untrusted return_url and accept trusted return_url", async ({
|
||||
],
|
||||
},
|
||||
},
|
||||
"server_metadata": null,
|
||||
"server_only": false,
|
||||
"stackable": false,
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user