|
|
@@ -42,7 +42,7 @@ class EmailTraitTest extends TestCase
|
|
|
|
|
|
Email::setConfig('default', [
|
|
|
'transport' => 'test_tools',
|
|
|
- 'from' => 'default@example.com',
|
|
|
+ 'from' => ['default@example.com' => 'Default Name'],
|
|
|
]);
|
|
|
Email::setConfig('alternate', [
|
|
|
'transport' => 'test_tools',
|
|
|
@@ -76,7 +76,7 @@ class EmailTraitTest extends TestCase
|
|
|
{
|
|
|
$this->sendEmails();
|
|
|
|
|
|
- $this->assertMailSentFrom('default@example.com');
|
|
|
+ $this->assertMailSentFrom(['default@example.com' => 'Default Name']);
|
|
|
$this->assertMailSentFrom('alternate@example.com');
|
|
|
|
|
|
$this->assertMailSentTo('to@example.com');
|