-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29132 from troccoli/add-template-theme-to-mail-no…
…tifications [5.8] Add template theme to mail notifications
- Loading branch information
Showing
3 changed files
with
28 additions
and
0 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
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
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 |
---|---|---|
|
@@ -74,6 +74,7 @@ public function test_mail_is_sent() | |
'email' => '[email protected]', | ||
]); | ||
|
||
$this->markdown->shouldReceive('theme')->once()->andReturnSelf(); | ||
$this->markdown->shouldReceive('render')->once()->andReturn('htmlContent'); | ||
$this->markdown->shouldReceive('renderText')->once()->andReturn('textContent'); | ||
|
||
|
@@ -118,6 +119,7 @@ public function test_mail_is_sent_to_named_address() | |
'name' => 'Taylor Otwell', | ||
]); | ||
|
||
$this->markdown->shouldReceive('theme')->once()->andReturnSelf(); | ||
$this->markdown->shouldReceive('render')->once()->andReturn('htmlContent'); | ||
$this->markdown->shouldReceive('renderText')->once()->andReturn('textContent'); | ||
|
||
|
@@ -161,6 +163,7 @@ public function test_mail_is_sent_with_subject() | |
'email' => '[email protected]', | ||
]); | ||
|
||
$this->markdown->shouldReceive('theme')->once()->andReturnSelf(); | ||
$this->markdown->shouldReceive('render')->once()->andReturn('htmlContent'); | ||
$this->markdown->shouldReceive('renderText')->once()->andReturn('textContent'); | ||
|
||
|
@@ -194,6 +197,7 @@ public function test_mail_is_sent_to_multiple_adresses() | |
'email' => '[email protected]', | ||
]); | ||
|
||
$this->markdown->shouldReceive('theme')->once()->andReturnSelf(); | ||
$this->markdown->shouldReceive('render')->once()->andReturn('htmlContent'); | ||
$this->markdown->shouldReceive('renderText')->once()->andReturn('textContent'); | ||
|
||
|