toby/tests/FeatureTestCase.php
Adrian Hopek e147d24365
#23 - collective editing vacation days (#26)
* #23 - wip

* #23 - wip

* #23 - wip

* #23 - wip

* #23 - fix

* #23 - ecs fix

* #23 - fix

* #23 - fix

* #23 - cr fix
2022-01-24 11:28:00 +01:00

24 lines
465 B
PHP

<?php
declare(strict_types=1);
namespace Tests;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
use Illuminate\Support\Carbon;
use Tests\Traits\InteractsWithYearPeriods;
abstract class FeatureTestCase extends BaseTestCase
{
use CreatesApplication;
use InteractsWithYearPeriods;
protected function setUp(): void
{
parent::setUp();
Carbon::setTestNow(Carbon::now());
$this->createCurrentYearPeriod();
}
}