mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
fixed last test, definetly the last test
This commit is contained in:
parent
6329f5b87e
commit
57107c487c
|
@ -46,7 +46,11 @@ class EmailNotificationsUponCheckinTest extends TestCase
|
||||||
$user = User::factory()->create();
|
$user = User::factory()->create();
|
||||||
$asset = Asset::factory()->assignedToUser($user)->create();
|
$asset = Asset::factory()->assignedToUser($user)->create();
|
||||||
|
|
||||||
$asset->model->category->update(['checkin_email' => false]);
|
$asset->model->category->update([
|
||||||
|
'checkin_email' => false,
|
||||||
|
'eula_text' => null,
|
||||||
|
'require_acceptance' => false,
|
||||||
|
]);
|
||||||
|
|
||||||
$this->fireCheckInEvent($asset, $user);
|
$this->fireCheckInEvent($asset, $user);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue