mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Remove test until upstream bug is fixed
This commit is contained in:
parent
0c8327649c
commit
16beb56d21
1 changed files with 1 additions and 14 deletions
|
@ -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');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue