mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 06:23:18 +00:00
pass all service configuration to serviceBuilder:build function
This commit is contained in:
@@ -823,8 +823,7 @@ abstract class PhraseanetPHPUnitAbstract extends WebTestCase
|
||||
$templateService = \Alchemy\Phrasea\Core\ServiceBuilder::build(
|
||||
$serviceName
|
||||
, \Alchemy\Phrasea\Core\ServiceBuilder::TEMPLATE_ENGINE
|
||||
, $confService->get("type")
|
||||
, $confService->get("options")
|
||||
,$confService
|
||||
);
|
||||
$this->app['Core']["Twig"] = $templateService->getService();
|
||||
}
|
||||
|
Reference in New Issue
Block a user