Skip to content

A free open source IT asset/license management system

last test to fix

Godfrey M15073a0d3885
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);
}
);
}