Permalink
Browse files

Show specific error message when subject not found.

  • Loading branch information...
mattstauffer committed Feb 10, 2018
1 parent 20272f0 commit 9a8c2443be2b3d77753596f70ae6cd879b5b26a6
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/Testing/InteractsWithMail.php
@@ -161,7 +161,10 @@ protected function seeInSubjects($subjects)
$subjects = (array) $subjects;
foreach ($subjects as $subject) {
$this->assertTrue(in_array($subject, $this->getMailer()->subjects()->all()));
$this->assertTrue(
in_array($subject, $this->getMailer()->subjects()->all()),
"Subject not found: `{$subject}`"
);
}
}

0 comments on commit 9a8c244

Please sign in to comment.