diff --git a/apps/e2e/tests/backend/endpoints/api/v1/payments/before-offer-to-product-rename/outdated--validate-code.test.ts b/apps/e2e/tests/backend/endpoints/api/v1/payments/before-offer-to-product-rename/outdated--validate-code.test.ts index ef63b9980..1e507627a 100644 --- a/apps/e2e/tests/backend/endpoints/api/v1/payments/before-offer-to-product-rename/outdated--validate-code.test.ts +++ b/apps/e2e/tests/backend/endpoints/api/v1/payments/before-offer-to-product-rename/outdated--validate-code.test.ts @@ -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, }, diff --git a/apps/e2e/tests/backend/endpoints/api/v1/payments/validate-code.test.ts b/apps/e2e/tests/backend/endpoints/api/v1/payments/validate-code.test.ts index 3bd8a95a8..b0e667305 100644 --- a/apps/e2e/tests/backend/endpoints/api/v1/payments/validate-code.test.ts +++ b/apps/e2e/tests/backend/endpoints/api/v1/payments/validate-code.test.ts @@ -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, },