diff --git a/templates/web/prod/index.html.twig b/templates/web/prod/index.html.twig index 77727a5e44..6094fc0b05 100644 --- a/templates/web/prod/index.html.twig +++ b/templates/web/prod/index.html.twig @@ -244,7 +244,7 @@ {% trans 'Browse Baskets' %} - {% if app['phraseanet.registry'].get('GV_multiAndReport') and if user.ACL().has_right('canaddrecord') %} + {% if app['phraseanet.registry'].get('GV_multiAndReport') and user.ACL().has_right('canaddrecord') %}
diff --git a/tests/Alchemy/Tests/Phrasea/Setup/InstallerTest.php b/tests/Alchemy/Tests/Phrasea/Setup/InstallerTest.php index fe530d8781..1d87107a0f 100644 --- a/tests/Alchemy/Tests/Phrasea/Setup/InstallerTest.php +++ b/tests/Alchemy/Tests/Phrasea/Setup/InstallerTest.php @@ -39,6 +39,7 @@ class InstallerTest extends \PHPUnit_Framework_TestCase public function testInstall() { $app = new Application('test'); + $app->bindRoutes(); $parser = new Parser(); $connDatas = $parser->parse(file_get_contents(__DIR__ . '/../../../../../config/configuration.yml'));