From 6288df391dc3f339a4e2d10e16b87dc930f95905 Mon Sep 17 00:00:00 2001 From: Joshua Date: Thu, 4 Oct 2018 11:00:15 -0500 Subject: [PATCH] Login Test --- tests/Feature/LoginTest.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tests/Feature/LoginTest.php diff --git a/tests/Feature/LoginTest.php b/tests/Feature/LoginTest.php new file mode 100644 index 000000000..9a70913bf --- /dev/null +++ b/tests/Feature/LoginTest.php @@ -0,0 +1,29 @@ +get('login'); + + $response->assertSuccessful() + ->assertSee('Forgot Your Password?'); + } + + /** @test */ + public function view_register_page() + { + $response = $this->get('register'); + + $response->assertSuccessful() + ->assertSee('Register a new account'); + } +} \ No newline at end of file