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,13 +2,10 @@
use App\Livewire\Settings\Security;
use App\Models\User;
use Illuminate\Foundation\Testing\LazilyRefreshDatabase;
use Illuminate\Support\Facades\Hash;
use Laravel\Fortify\Features;
use Livewire\Livewire;
uses(LazilyRefreshDatabase::class);
beforeEach(function () {
$this->skipUnlessFortifyHas(Features::twoFactorAuthentication());