mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 12:17:05 -08:00
last test to fix
This commit is contained in:
parent
a80c09c16d
commit
15073a0d38
|
@ -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);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue