Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // ...
- class LoginTest extends TestCase
- {
- public function test_user_can_view_a_login_form()
- {
- $response = $this->get('/login');
- $response->assertSuccessful();
- $response->assertViewIs('auth.login');
- }
- }
Add Comment
Please, Sign In to add comment