generated from spatie/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Support for Laravel 9 / Drop Support for Laravel 8 (#8)
* Update run-tests.yml Workflow * Update Composer Constraints to Support Laravel 9 * Fix StoreMailables * Turn empty names to null
- Loading branch information
1 parent
dcccbb2
commit df3bdbb
Showing
6 changed files
with
58 additions
and
55 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
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 |
---|---|---|
|
@@ -19,15 +19,13 @@ | |
use Wnx\Sends\Tests\TestSupport\Models\TestModelWithoutHasSendsContract; | ||
use Wnx\Sends\Tests\TestSupport\Notifications\TestNotification; | ||
|
||
it('stores_outgoing_mails_in_database_table', function () { | ||
it('stores outgoing mails in database table', function () { | ||
Mail::to([ | ||
[ | ||
'email' => '[email protected]', | ||
'name' => 'To 1 Name', | ||
], [ | ||
'email' => '[email protected]', | ||
'name' => 'To 2 Name', | ||
], | ||
'[email protected]', | ||
]) | ||
->send(new TestMail()); | ||
|
||
|
@@ -37,7 +35,7 @@ | |
'subject' => '::subject::', | ||
'to' => json_encode([ | ||
'[email protected]' => 'To 1 Name', | ||
'[email protected]' => 'To 2 Name', | ||
'[email protected]' => null, | ||
]), | ||
'cc' => null, | ||
'bcc' => null, | ||
|