This commit is contained in:
Adrian Hopek 2022-03-18 09:35:08 +01:00
parent 70f73da784
commit 140be26159

View File

@ -6,6 +6,7 @@ namespace Tests\Unit;
use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Support\Carbon; use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Bus;
use Illuminate\Support\Facades\Notification; use Illuminate\Support\Facades\Notification;
use Tests\TestCase; use Tests\TestCase;
use Tests\Traits\InteractsWithYearPeriods; use Tests\Traits\InteractsWithYearPeriods;
@ -30,6 +31,7 @@ class VacationRequestStatesTest extends TestCase
parent::setUp(); parent::setUp();
Notification::fake(); Notification::fake();
Bus::fake();
$this->stateManager = $this->app->make(VacationRequestStateManager::class); $this->stateManager = $this->app->make(VacationRequestStateManager::class);