From 57107c487cce4f5520b8cfb97408e8c9f02d6547 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Thu, 24 Oct 2024 09:40:10 -0700 Subject: [PATCH] fixed last test, definetly the last test --- .../Email/EmailNotificationsUponCheckinTest.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php b/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php index 38bda4033..b4f360cfc 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);