Refactor Phrasea::start

This commit is contained in:
Romain Neutron
2012-02-23 10:29:19 +01:00
parent 157a6b51ff
commit 9bd67a5361
7 changed files with 13 additions and 7 deletions

View File

@@ -814,7 +814,7 @@ abstract class PhraseanetPHPUnitAbstract extends WebTestCase
*/
protected function resetTwig()
{
$configuration = \Alchemy\Phrasea\Core\Configuration::build();
$configuration = self::$core->getConfiguration();
$serviceName = $configuration->getTemplating();
$confService = $configuration->getService($serviceName);