pass all service configuration to serviceBuilder:build function

This commit is contained in:
Nicolas Le Goff
2012-01-17 16:45:18 +01:00
parent c0c33d9e35
commit 119f13b8a3

View File

@@ -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();
} }