refactor: auto refactor via rector
This commit is contained in:
@@ -4,7 +4,7 @@ use App\Models\User;
|
||||
use Laravel\Fortify\Features;
|
||||
use Livewire\Livewire;
|
||||
|
||||
test('two factor challenge redirects to login when not authenticated', function () {
|
||||
test('two factor challenge redirects to login when not authenticated', function (): void {
|
||||
if (! Features::canManageTwoFactorAuthentication()) {
|
||||
$this->markTestSkipped('Two-factor authentication is not enabled.');
|
||||
}
|
||||
@@ -14,7 +14,7 @@ test('two factor challenge redirects to login when not authenticated', function
|
||||
$response->assertRedirect(route('login'));
|
||||
});
|
||||
|
||||
test('two factor challenge can be rendered', function () {
|
||||
test('two factor challenge can be rendered', function (): void {
|
||||
if (! Features::canManageTwoFactorAuthentication()) {
|
||||
$this->markTestSkipped('Two-factor authentication is not enabled.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user