diff --git a/tests/Feature/Auth/AuthenticationTest.php b/tests/Feature/Auth/AuthenticationTest.php index 075a4c2..0fce781 100644 --- a/tests/Feature/Auth/AuthenticationTest.php +++ b/tests/Feature/Auth/AuthenticationTest.php @@ -13,6 +13,8 @@ class AuthenticationTest extends TestCase public function test_login_screen_can_be_rendered() { + $user = User::factory()->create(); + $response = $this->get('/login'); $response->assertStatus(200); diff --git a/tests/Feature/AuthenticationTest.php b/tests/Feature/AuthenticationTest.php index 2dbceac..25cd42f 100644 --- a/tests/Feature/AuthenticationTest.php +++ b/tests/Feature/AuthenticationTest.php @@ -11,13 +11,6 @@ class AuthenticationTest extends TestCase { use RefreshDatabase; - public function test_login_screen_can_be_rendered() - { - $response = $this->get('/login'); - - $response->assertStatus(200); - } - public function test_users_can_authenticate_using_the_login_screen() { $user = User::factory()->create(); diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php deleted file mode 100644 index cdb5111..0000000 --- a/tests/Feature/ExampleTest.php +++ /dev/null @@ -1,21 +0,0 @@ -get('/'); - - $response->assertStatus(200); - } -}