Seed user to automatically login #497
Answered
by
lonnieezell
Putnug1122
asked this question in
Q&A
|
How to seed hundred of users to database with login ready ? |
Answered by
lonnieezell
Nov 10, 2022
Replies: 2 comments 5 replies
|
You can crerate a user with Fake. Something like this: shield/tests/Authentication/Authenticators/SessionAuthenticatorTest.php Lines 407 to 412 in 5e6d517 |
2 replies
|
I believe you have to load the test helper. |
3 replies
Answer selected by
Putnug1122
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe you have to load the test helper.