Selaa lähdekoodia

Remove test until upstream bug is fixed

Daniel Supernault 5 vuotta sitten
vanhempi
commit
16beb56d21
1 muutettua tiedostoa jossa 1 lisäystä ja 14 poistoa
  1. 1 14
      tests/Feature/LoginTest.php

+ 1 - 14
tests/Feature/LoginTest.php

@@ -5,6 +5,7 @@ namespace Tests\Feature;
 use Tests\TestCase;
 use Tests\TestCase;
 use Illuminate\Foundation\Testing\RefreshDatabase;
 use Illuminate\Foundation\Testing\RefreshDatabase;
 use Illuminate\Foundation\Testing\WithoutMiddleware;
 use Illuminate\Foundation\Testing\WithoutMiddleware;
+use App\User;
 
 
 class LoginTest extends TestCase
 class LoginTest extends TestCase
 {
 {
@@ -16,18 +17,4 @@ class LoginTest extends TestCase
 
 
         $response->assertSee('Forgot Password');
         $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');
-        }
-    }
 }
 }