When I check dd(\Auth()::check());
in testLoginTrue
method in LoginTest
case then it's returning true
but when I use dd(\Auth()::check());
in testClientCreateFormDisplayed
method in ClientTest
then it's returning false
.
So how can I get a logged in user in another test case? Is that need to login user before every test case?