From bfa52a4f0c4e0bc589ed458fad4232ad4d174c64 Mon Sep 17 00:00:00 2001 From: charlie Date: Sat, 24 Aug 2024 03:27:53 -0600 Subject: [PATCH] fix "registers a new user with password confirmation and logs in" test fix: set `name` for user registration test --- tests/Feature/AuthenticationTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Feature/AuthenticationTest.php b/tests/Feature/AuthenticationTest.php index 772c0c3..23e77c9 100644 --- a/tests/Feature/AuthenticationTest.php +++ b/tests/Feature/AuthenticationTest.php @@ -89,6 +89,7 @@ ->set('email', 'user@example.com') ->set('password', 'secret1234') ->set('password_confirmation', 'secret1234') + ->set('name', 'John Doe') ->call('register') ->assertHasNoErrors() ->assertRedirect('/');