Skip to content

A free open source IT asset/license management system

add usuage of withoutactionlog

Godfrey M881c789a75e8
diff --git a/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.php b/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.php
index 246d52366c..04081241c9 100644
--- a/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.php
+++ b/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.php
@@ -112,7 +112,7 @@ class AssetAcceptanceReminderTest extends TestCase
foreach ($checkoutTypes as $modelClass => $mailable) {
$item = $modelClass::factory()->create();
- $acceptance = CheckoutAcceptance::factory()->pending()->create([
+ $acceptance = CheckoutAcceptance::factory()->withoutActionLog()->pending()->create([
'checkoutable_id' => $item->id,
'checkoutable_type' => $modelClass,
'assigned_to_id' => $assignee->id,