mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Scope event fake
This commit is contained in:
parent
b55a19cebb
commit
c401c88702
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue