From 15073a0d3885dc18609158943254317a2394d9d7 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Wed, 23 Oct 2024 17:27:37 -0700 Subject: [PATCH] last test to fix --- .../Notifications/Email/EmailNotificationsUponCheckinTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php b/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php index 098ef184c6..a472c73c56 100644 --- a/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php +++ b/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php @@ -51,7 +51,7 @@ class EmailNotificationsUponCheckinTest extends TestCase $this->fireCheckInEvent($asset, $user); Mail::assertNotSent(CheckinAssetMail::class, function($mail) use ($user, $asset) { - return $mail->hasTo($user->email) && $mail->event->checkoutable->id === $asset->id; + return $mail->hasTo($user->email); } ); }