Created
May 22, 2018 20:37
-
-
Save DCzajkowski/d3a62187c6dc5d3401e0c54e150bca38 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
<?php | |
// ... | |
class LoginTest extends TestCase | |
{ | |
public function test_user_can_view_a_login_form() | |
{ | |
$response = $this->get('/login'); | |
$response->assertSuccessful(); | |
$response->assertViewIs('auth.login'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment