Add LazilyRefreshDatabase trait to TestCase
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled

This commit is contained in:
2026-05-01 02:48:15 +03:30
parent 09aa833cdd
commit b2339d389d
5 changed files with 3 additions and 12 deletions

View File

@@ -2,11 +2,14 @@
namespace Tests;
use Illuminate\Foundation\Testing\LazilyRefreshDatabase;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
use Laravel\Fortify\Features;
abstract class TestCase extends BaseTestCase
{
use LazilyRefreshDatabase;
protected function skipUnlessFortifyHas(string $feature, ?string $message = null): void
{
if (! Features::enabled($feature)) {