toby/tests/FeatureTestCase.php
Adrian Hopek 558dd27fee #23 - wip
2022-01-24 08:38:06 +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();
}
}