Skip to content

A free open source IT asset/license management system

fixed last test, definetly the last test

Godfrey M57107c487cce
diff --git a/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php b/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php
index 38bda40335..b4f360cfc3 100644
--- a/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php
+++ b/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php
@@ -46,7 +46,11 @@ class EmailNotificationsUponCheckinTest extends TestCase
$user = User::factory()->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);