Guest User

Untitled

a guest
May 27th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. <?php
  2.  
  3. namespace Tests\Feature\Auth;
  4.  
  5. use App\User;
  6. use Tests\TestCase;
  7. use Illuminate\Foundation\Testing\WithFaker;
  8. use Illuminate\Foundation\Testing\RefreshDatabase;
  9.  
  10. class LoginTest extends TestCase
  11. {
  12. use RefreshDatabase;
  13.  
  14. public function test_user_can_view_a_login_form()
  15. {
  16. // ...
  17. }
  18.  
  19. public function test_user_cannot_view_a_login_form_when_authenticated()
  20. {
  21. // ...
  22. }
  23.  
  24. public function test_user_can_login_with_correct_credentials()
  25. {
  26. // ...
  27. }
  28. }
Add Comment
Please, Sign In to add comment