Update LoginTest

pull/503/head
Daniel Supernault 2018-10-04 15:20:51 -06:00
rodzic 87535142f7
commit f6ed376dc1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 7 dodań i 3 usunięć

Wyświetl plik

@ -21,9 +21,13 @@ class LoginTest extends TestCase
/** @test */
public function view_register_page()
{
$response = $this->get('register');
if(true === config('pixelfed.open_registration')) {
$response = $this->get('register');
$response->assertSuccessful()
->assertSee('Register a new account');
$response->assertSuccessful()
->assertSee('Register a new account');
} else {
$this->assertTrue(true);
}
}
}