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