From 5d91fb2051038c6b5c315e83dcd27de925ce8b56 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 28 Nov 2018 22:11:07 -0700 Subject: [PATCH] Update LoginTest --- tests/Feature/LoginTest.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/Feature/LoginTest.php b/tests/Feature/LoginTest.php index c2e54df94..4972c87cd 100644 --- a/tests/Feature/LoginTest.php +++ b/tests/Feature/LoginTest.php @@ -25,7 +25,10 @@ class LoginTest extends TestCase $response->assertSuccessful() ->assertSee('Register a new account'); } else { - $this->assertTrue(true); + $response = $this->get('register'); + + $response->assertSuccessful() + ->assertSee('Registration is closed'); } } } \ No newline at end of file