Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/10.x' into 10.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mdariftiens committed Jul 12, 2023
2 parents 5c8ddad + 3cd9bcb commit 7c52521
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Foundation/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,7 @@ protected function getArtisan()

if ($this->symfonyDispatcher instanceof EventDispatcher) {
$this->artisan->setDispatcher($this->symfonyDispatcher);
$this->artisan->setSignalsToDispatchEvent();
}
}

Expand Down
2 changes: 2 additions & 0 deletions src/Illuminate/Mail/Mailable.php
Original file line number Diff line number Diff line change
Expand Up @@ -1330,6 +1330,8 @@ private function formatAssertionRecipient($address, $name = null)
*/
public function assertHasSubject($subject)
{
$this->renderForAssertions();

PHPUnit::assertTrue(
$this->hasSubject($subject),
"Did not see expected text [{$subject}] in email subject."
Expand Down

0 comments on commit 7c52521

Please sign in to comment.