This commit is contained in:
Adrian Hopek
2022-02-22 08:27:29 +01:00
parent c8616716cf
commit ef54b37691
7 changed files with 98 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ namespace Tests\Unit;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Notification;
use Tests\TestCase;
use Tests\Traits\InteractsWithYearPeriods;
use Toby\Domain\Enums\VacationRequestState;
@@ -26,6 +27,8 @@ class VacationRequestStatesTest extends TestCase
{
parent::setUp();
Notification::fake();
$this->stateManager = $this->app->make(VacationRequestStateManager::class);
$this->createCurrentYearPeriod();