Merge branch '1.14' into 2.0

* 1.14:
  make it possible to resend order confirmation after fulfilled state
This commit is contained in:
Grzegorz Sadowski 2024-09-20 06:38:58 +02:00
commit 841b51c8f1
No known key found for this signature in database
GPG key ID: EF87FF4E6E3BD364
2 changed files with 9 additions and 0 deletions

View file

@ -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"

View file

@ -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: