last test to fix

This commit is contained in:
Godfrey M 2024-10-23 17:27:37 -07:00
parent a80c09c16d
commit 15073a0d38

View file

@ -51,7 +51,7 @@ class EmailNotificationsUponCheckinTest extends TestCase
$this->fireCheckInEvent($asset, $user); $this->fireCheckInEvent($asset, $user);
Mail::assertNotSent(CheckinAssetMail::class, function($mail) use ($user, $asset) { 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);
} }
); );
} }