Skip to content

Commit

Permalink
fix "registers a new user with password confirmation and logs in" test
Browse files Browse the repository at this point in the history
fix: set `name` for user registration test
  • Loading branch information
ch4r-ch4r authored Aug 24, 2024
1 parent 9545687 commit bfa52a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Feature/AuthenticationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
->set('email', 'user@example.com')
->set('password', 'secret1234')
->set('password_confirmation', 'secret1234')
->set('name', 'John Doe')
->call('register')
->assertHasNoErrors()
->assertRedirect('/');
Expand Down

0 comments on commit bfa52a4

Please sign in to comment.