Created
March 24, 2019 20:57
-
-
Save duncanmcclean/59cd9be4b9ea5423704f24002da87adc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$response = $this->post('/login', [ | |
'email' => $user->email, | |
'password' => 'secret' | |
]); | |
$response->assertStatus(302) | |
->assertRedirect('/articles'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment