diff --git a/src/Wallabag/CoreBundle/Tests/Controller/SecurityControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/SecurityControllerTest.php index 5c098cc28..ed2926337 100644 --- a/src/Wallabag/CoreBundle/Tests/Controller/SecurityControllerTest.php +++ b/src/Wallabag/CoreBundle/Tests/Controller/SecurityControllerTest.php @@ -22,6 +22,7 @@ class SecurityControllerTest extends WallabagCoreTestCase if (!$client->getContainer()->getParameter('twofactor_auth')) { $this->markTestSkipped('twofactor_auth is not enabled.'); + return; } @@ -54,6 +55,7 @@ class SecurityControllerTest extends WallabagCoreTestCase if (!$client->getContainer()->getParameter('twofactor_auth')) { $this->markTestSkipped('twofactor_auth is not enabled.'); + return; }