mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix build
This commit is contained in:
@@ -63,6 +63,7 @@ class Bridge implements ControllerProviderInterface
|
||||
'user_accounts' => \Bridge_Account::get_accounts_by_user($appbox, $user)
|
||||
, 'available_apis' => \Bridge_Api::get_availables($appbox)
|
||||
, 'route' => $route
|
||||
, 'current_account_id' => ''
|
||||
);
|
||||
|
||||
return new Response($twig->render('prod/actions/Bridge/index.twig', $params)
|
||||
|
@@ -19,8 +19,8 @@ foreach ($lngs as $lng => $locales)
|
||||
$avLanguages[$loc] = $locname['name'];
|
||||
}
|
||||
}
|
||||
$eventsmanager = eventsmanager_broker::getInstance(appbox::get_instance());
|
||||
|
||||
$eventsmanager = eventsmanager_broker::getInstance(appbox::get_instance(), bootstrap::getCore());
|
||||
|
||||
$PHP_CONF = array(
|
||||
'output_buffering' => '4096' //INI_ALL
|
||||
|
@@ -75,7 +75,7 @@ class Bridge_Application extends PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
|
||||
$crawler = $this->client->request('POST', '/bridge/manager/', array('ssel' => $basket->getId()));
|
||||
$pageContent = $this->client->getResponse()->getContent();
|
||||
$this->assertNotContains("Oups ! something went wrong !", $pageContent);
|
||||
$this->assertTrue($this->client->getResponse()->isOk());
|
||||
$this->assertEquals(count($accounts) + 2, $crawler->filter('form')->count());
|
||||
$this->assertTrue($this->client->getResponse()->isOk());
|
||||
}
|
||||
|
@@ -19,7 +19,7 @@
|
||||
{% if not loop.last %} - {% endif %}
|
||||
{% endfor %}
|
||||
|
|
||||
<a class="{% if adapter_action == 'load-records' %} selected {% endif %} action_type_{{type}} bridge_action bridge_title" href="/prod/bridge/adapter/{{ account.get_id() }}/load-records/">
|
||||
<a class="{% if adapter_action == 'load-records' %} selected {% endif %} bridge_action bridge_title" href="/prod/bridge/adapter/{{ account.get_id() }}/load-records/">
|
||||
{% trans 'Fichiers envoyes' %}
|
||||
</a>
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user