-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #158 Improved: OrderPaymentLinkSender (igormukhingmailcom)
This PR was merged into the 1.1-dev branch. Discussion ---------- Now created `Order` passed to email template to be able to render breakdown / user can see what he pays for Commits ------- a6a3692 Improved: OrderPaymentLinkSender
- Loading branch information
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,14 @@ function it_sends_payment_link_for_order_to_the_customer( | |
$customer->getEmail()->willReturn('[email protected]'); | ||
|
||
$sender | ||
->send('order_created_in_admin_panel', ['[email protected]'], ['paymentLink' => 'http://payment-link.com']) | ||
->send( | ||
'order_created_in_admin_panel', | ||
['[email protected]'], | ||
[ | ||
'order' => $order, | ||
'paymentLink' => 'http://payment-link.com', | ||
] | ||
) | ||
->shouldBeCalled() | ||
; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters