Fix build

This commit is contained in:
Romain Neutron
2013-06-28 23:13:44 +02:00
parent 0800d9bb96
commit b7af503ea3
2 changed files with 2 additions and 1 deletions

View File

@@ -244,7 +244,7 @@
{% trans 'Browse Baskets' %}
</a>
</div>
{% 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') %}
<div class="context-menu-item-inner">
<a title="{% trans 'action:: nouveau reportage' %}" class="dialog small-dialog" href="{{ path('prod_stories_create') }}">
<img style="cursor:pointer;" src="/skins/icons/mtadd_0.gif" title="{% trans 'action:: nouveau reportage' %}" />

View File

@@ -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'));