Scope event fake

This commit is contained in:
Marcus Moore 2024-02-22 16:19:33 -08:00
parent b55a19cebb
commit c401c88702
No known key found for this signature in database

View file

@ -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(