Skip to content

A free open source IT asset/license management system

Scope event fake

Marcus Moorec401c8870268
diff --git a/tests/Feature/Checkins/AssetCheckinTest.php b/tests/Feature/Checkins/AssetCheckinTest.php
index 3492cb6ae0..3452b14c10 100644
--- a/tests/Feature/Checkins/AssetCheckinTest.php
+++ b/tests/Feature/Checkins/AssetCheckinTest.php
@@ -149,7 +149,7 @@ class AssetCheckinTest extends TestCase
public function testCheckinTimeAndActionLogNoteCanBeSet()
{
- Event::fake();
+ Event::fake([CheckoutableCheckedIn::class]);
$this->actingAs(User::factory()->checkinAssets()->create())
->post(route(