Files
KanbanGit/tests/TestCase.php
T
Twyco 721a6ab443
linter / quality (push) Successful in 1m7s
tests / ci (8.4) (push) Successful in 1m12s
initial commit
2026-03-24 23:04:45 +01:00

17 lines
424 B
PHP

<?php
namespace Tests;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
use Laravel\Fortify\Features;
abstract class TestCase extends BaseTestCase
{
protected function skipUnlessFortifyFeature(string $feature, ?string $message = null): void
{
if (! Features::enabled($feature)) {
$this->markTestSkipped($message ?? "Fortify feature [{$feature}] is not enabled.");
}
}
}