last test to fix
This commit is contained in:
parent
a80c09c16d
commit
15073a0d38
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue