forked from wallabag/wallabag
Expect that user registration is always enabled in tests
This commit is contained in:
@ -85,13 +85,6 @@ class SecurityControllerTest extends WallabagTestCase
|
||||
public function testEnabledRegistration()
|
||||
{
|
||||
$client = $this->getTestClient();
|
||||
|
||||
if (!$client->getContainer()->getParameter('fosuser_registration')) {
|
||||
$this->markTestSkipped('fosuser_registration is not enabled.');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
$client->followRedirects();
|
||||
$client->request('GET', '/register');
|
||||
$this->assertStringContainsString('registration.submit', $client->getResponse()->getContent());
|
||||
|
||||
Reference in New Issue
Block a user