Corrige autorizacao transaccional e valida modulos implementados

This commit is contained in:
2026-10-28 17:19:33 +02:00
parent 95dd2cc1ed
commit 5ff8d78803
30 changed files with 601 additions and 97 deletions
+1 -3
View File
@@ -25,8 +25,6 @@ test('security page is displayed', function () {
});
test('security page renders without two factor when feature is disabled', function () {
$this->skipUnlessFortifyHas(Features::twoFactorAuthentication());
config(['fortify.features' => []]);
$user = User::factory()->create();
@@ -36,7 +34,7 @@ test('security page renders without two factor when feature is disabled', functi
->assertOk()
->assertInertia(fn (Assert $page) => $page
->component('settings/security')
->where('canManageTwoFactor', false)
->has('passwordRules')
->missing('twoFactorEnabled')
->missing('requiresConfirmation'),
);