mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
Merge branch '1.14' into 2.0
* 1.14: make it possible to resend order confirmation after fulfilled state
This commit is contained in:
commit
841b51c8f1
2 changed files with 9 additions and 0 deletions
|
|
@ -31,6 +31,14 @@ Feature: Resending an order confirmation email for a chosen order
|
|||
Then I should be notified that the order confirmation email has been successfully resent to the customer
|
||||
And an email with the confirmation of the order "#00000666" should be sent to "lucy@teamlucifer.com" in "Polish (Poland)" locale
|
||||
|
||||
@api @ui @email
|
||||
Scenario: Resending a confirmation email for an order after it has been fulfilled
|
||||
When I view the summary of the order "#00000666"
|
||||
And I ship this order
|
||||
And I resend the order confirmation email
|
||||
Then I should be notified that the order confirmation email has been successfully resent to the customer
|
||||
And an email with the confirmation of the order "#00000666" should be sent to "lucy@teamlucifer.com"
|
||||
|
||||
@api @ui @email
|
||||
Scenario: Not being able to resend a confirmation email for an order with wrong state
|
||||
When I view the summary of the order "#00000666"
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
parameters:
|
||||
sylius_order.resend_order_confirmation_email.order_states:
|
||||
- !php/const Sylius\Component\Order\Model\OrderInterface::STATE_NEW
|
||||
- !php/const Sylius\Component\Order\Model\OrderInterface::STATE_FULFILLED
|
||||
|
||||
jms_serializer:
|
||||
metadata:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue