Skip to content

Commit

Permalink
[API] Import proper context to fix coupon invalidity checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Zales0123 committed Jun 9, 2021
1 parent 91e4507 commit 4fbbb31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Feature: Applying promotion coupon with per customer usage limit
Then my cart total should be "$90.00"
And my discount should be "-$10.00"

@ui
@ui @api
Scenario: Receiving no discount from valid coupon that has reached its per customer usage limit
Given this coupon can be used once per customer
And I placed an order "#00000022"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ default:
- sylius.behat.context.setup.payment
- sylius.behat.context.setup.product
- sylius.behat.context.setup.promotion
- sylius.behat.context.setup.shop_security
- sylius.behat.context.setup.shop_api_security
- sylius.behat.context.setup.shipping
- sylius.behat.context.setup.taxonomy

Expand Down

0 comments on commit 4fbbb31

Please sign in to comment.