mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +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(
|
$templateService = \Alchemy\Phrasea\Core\ServiceBuilder::build(
|
||||||
$serviceName
|
$serviceName
|
||||||
, \Alchemy\Phrasea\Core\ServiceBuilder::TEMPLATE_ENGINE
|
, \Alchemy\Phrasea\Core\ServiceBuilder::TEMPLATE_ENGINE
|
||||||
, $confService->get("type")
|
,$confService
|
||||||
, $confService->get("options")
|
|
||||||
);
|
);
|
||||||
$this->app['Core']["Twig"] = $templateService->getService();
|
$this->app['Core']["Twig"] = $templateService->getService();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user