mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-11 17:51:02 +00:00
Expect that user registration is always enabled in tests
This commit is contained in:
parent
163c3773cb
commit
738e95615a
4 changed files with 2 additions and 14 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue