StackFlow
Laravel - HTTP Tests - Assert Authenticated As
Assert that a specific user is authenticated:
$this->assertAuthenticatedAs($user, $guard = null);
Please enable JavaScript to view the
comments powered by Disqus.