minor #13092 fixed unit tests (fabpot)

This PR was merged into the 2.6 branch.

Discussion
----------

fixed unit tests

see #13047

Commits
-------

1f98e60 fixed unit tests
This commit is contained in:
Fabien Potencier 2014-12-24 07:22:41 +01:00
commit 9a26c7d525

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%"));