toby/tests/FeatureTestCase.php
EwelinaLasowy aae3c7fcb2 #22 - wip
2022-02-09 11:25:23 +01:00

24 lines
486 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::createFromDate(2022, 1, 1));
$this->createCurrentYearPeriod();
}
}