diff --git a/resources/views/components/two-factor-badge.blade.php b/resources/views/components/two-factor-badge.blade.php index 0ed0a4bef8..4705ce47ef 100644 --- a/resources/views/components/two-factor-badge.blade.php +++ b/resources/views/components/two-factor-badge.blade.php @@ -15,7 +15,7 @@ d="M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z" /> @else - + @endif Two-factor authentication is {{ $enabled ? 'enabled' : 'disabled' }} diff --git a/tests/Feature/TeamMemberTwoFactorStatusTest.php b/tests/Feature/TeamMemberTwoFactorStatusTest.php index fda020a253..59c68c64e1 100644 --- a/tests/Feature/TeamMemberTwoFactorStatusTest.php +++ b/tests/Feature/TeamMemberTwoFactorStatusTest.php @@ -91,7 +91,6 @@ test('the member row renders a disabled badge when two factor is not configured' Livewire::test(Member::class, ['member' => $memberWithoutTwoFactor]) ->assertSee('Two-factor authentication is disabled') - ->assertSeeHtml('M18.4697 19.5303') ->assertDontSee('Two-factor authentication is enabled'); });