Corrige autorizacao transaccional e valida modulos implementados
This commit is contained in:
@@ -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'),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user