diff --git a/tests/Feature/LoginTest.php b/tests/Feature/LoginTest.php index c076da008..b3f042b7e 100644 --- a/tests/Feature/LoginTest.php +++ b/tests/Feature/LoginTest.php @@ -5,6 +5,7 @@ namespace Tests\Feature; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithoutMiddleware; +use App\User; class LoginTest extends TestCase { @@ -16,18 +17,4 @@ class LoginTest extends TestCase $response->assertSee('Forgot Password'); } - - /** @test */ - public function view_register_page() - { - if(true == config('pixelfed.open_registration')) { - $response = $this->get('register'); - - $response->assertSee('Register a new account'); - } else { - $response = $this->get('register'); - - $response->assertSee('Registration is closed'); - } - } } \ No newline at end of file