Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update fixtures

dominik-zeglen1d949f570c84
diff --git a/saleor/static/dashboard-next/discounts/fixtures.ts b/saleor/static/dashboard-next/discounts/fixtures.ts
index 353d2620be..baeae66f85 100644
--- a/saleor/static/dashboard-next/discounts/fixtures.ts
+++ b/saleor/static/dashboard-next/discounts/fixtures.ts
@@ -60,6 +60,13 @@ export const saleList: SaleList_sales_edges_node[] = [
export const voucherList: VoucherList_vouchers_edges_node[] = [
{
__typename: "Voucher" as "Voucher",
+ countries: [
+ {
+ __typename: "CountryDisplay",
+ code: "DE",
+ country: "Germany"
+ }
+ ],
discountValue: 100,
discountValueType: "PERCENTAGE" as VoucherDiscountValueType,
endDate: null,
@@ -71,6 +78,7 @@ export const voucherList: VoucherList_vouchers_edges_node[] = [
},
{
__typename: "Voucher" as "Voucher",
+ countries: [],
discountValue: 25,
discountValueType: "FIXED" as VoucherDiscountValueType,
endDate: null,