diff --git a/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php b/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php index a472c73c56..38bda40335 100644 --- a/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php +++ b/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php @@ -50,7 +50,7 @@ class EmailNotificationsUponCheckinTest extends TestCase $this->fireCheckInEvent($asset, $user); - Mail::assertNotSent(CheckinAssetMail::class, function($mail) use ($user, $asset) { + Mail::assertNotSent(CheckinAssetMail::class, function($mail) use ($user) { return $mail->hasTo($user->email); } );