fixed unit tests

This commit is contained in:
Fabien Potencier 2014-12-24 07:17:40 +01:00
parent 7ebb685805
commit 1f98e60f5d

View File

@ -39,6 +39,11 @@ class LoggingTranslatorPassTest extends \PHPUnit_Framework_TestCase
->method('getDefinition')
->will($this->returnValue($definition));
$container->expects($this->once())
->method('hasParameter')
->with('translator.logging')
->will($this->returnValue(true));
$definition->expects($this->once())
->method('getClass')
->will($this->returnValue("%translator.class%"));