From 0d06f62c62c036176854e8ac3b026bbe6d05bd0c Mon Sep 17 00:00:00 2001 From: Pushpak Chhajed Date: Fri, 3 Oct 2025 16:50:30 +0530 Subject: [PATCH] Fix test where the route is redirected towards the dashboard --- tests/Browser/Auth/AuthenticationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Browser/Auth/AuthenticationTest.php b/tests/Browser/Auth/AuthenticationTest.php index 7f8806a..d92ef5a 100644 --- a/tests/Browser/Auth/AuthenticationTest.php +++ b/tests/Browser/Auth/AuthenticationTest.php @@ -16,7 +16,7 @@ }); test('users can authenticate using the login screen', function () { - $user = User::factory()->create(); + $user = User::factory()->withoutTwoFactor()->create(); visit(route('login')) ->fill('email', $user->email)