Skip to content

Commit c1b30e6

Browse files
committed
Fix
1 parent 68b3d75 commit c1b30e6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/MailableReaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function it_extracts_the_from_address_and_or_name()
106106

107107
$this->assertTrue((bool) $email->from);
108108
$this->assertEquals('[email protected]', $email->from['address']);
109-
$this->assertEquals('Example', $email->from['name']);
109+
$this->assertEquals('Laravel', $email->from['name']);
110110

111111
$email = Email::compose()->mailable(
112112
($this->mailable())

tests/TestCase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ protected function getEnvironmentSetUp($app)
8686
]);
8787

8888
$app['config']->set('mail.driver', 'log');
89+
90+
$app['config']->set('mail.from.name', 'Laravel');
8991
}
9092

9193
public function createEmail($overwrite = [])

0 commit comments

Comments
 (0)