Skip to content

Commit 9a337ce

Browse files
Merge pull request #5 from pushpak1300/fix/tests
Fix test where the route is redirected towards the dashboard
2 parents 4d0ad7e + 0d06f62 commit 9a337ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Browser/Auth/AuthenticationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
});
1717

1818
test('users can authenticate using the login screen', function () {
19-
$user = User::factory()->create();
19+
$user = User::factory()->withoutTwoFactor()->create();
2020

2121
visit(route('login'))
2222
->fill('email', $user->email)

0 commit comments

Comments
 (0)