Skip to content

Commit

Permalink
Fixing coupon condition in unit testing data
Browse files Browse the repository at this point in the history
  • Loading branch information
treoden committed Aug 5, 2024
1 parent 5c8f5c9 commit 1b198a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/evershop/src/modules/checkout/tests/coupons.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const coupons = [
used_time: 0,
target_products: [],
condition: { order_qty: '', order_total: '' },
user_condition: { email: '', group: 999, purchased: '' },
user_condition: { email: '', groups: [''], purchased: '' },
buyx_gety: [
{
sku: 'AT46 8703 9964 4659 4364',
Expand Down Expand Up @@ -47,7 +47,7 @@ const coupons = [
used_time: 0,
target_products: [],
condition: { order_qty: '', order_total: '' },
user_condition: { email: '', group: 999, purchased: '' },
user_condition: { email: '', groups: [''], purchased: '' },
buyx_gety: [],
max_uses_time_per_coupon: null,
max_uses_time_per_customer: null,
Expand All @@ -68,7 +68,7 @@ const coupons = [
used_time: 0,
target_products: [],
condition: { order_qty: '', order_total: '' },
user_condition: { email: '', group: 999, purchased: '' },
user_condition: { email: '', groups: [''], purchased: '' },
buyx_gety: [],
max_uses_time_per_coupon: null,
max_uses_time_per_customer: null,
Expand Down

0 comments on commit 1b198a0

Please sign in to comment.