mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -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()
|
public function testCheckinTimeAndActionLogNoteCanBeSet()
|
||||||
{
|
{
|
||||||
Event::fake();
|
Event::fake([CheckoutableCheckedIn::class]);
|
||||||
|
|
||||||
$this->actingAs(User::factory()->checkinAssets()->create())
|
$this->actingAs(User::factory()->checkinAssets()->create())
|
||||||
->post(route(
|
->post(route(
|
||||||
|
|
Loading…
Reference in a new issue