8000 minor #13092 fixed unit tests (fabpot) · symfony/symfony@9a26c7d · GitHub
[go: up one dir, main page]

Skip to content

Commit 9a26c7d

Browse files
committed
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
2 parents 7ebb685 + 1f98e60 commit 9a26c7d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/LoggingTranslatorPassTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ public function testProcess()
3939
->method('getDefinition')
4040
->will($this->returnValue($definition));
4141

42+
$container->expects($this->once())
43+
->method('hasParameter')
44+
->with('translator.logging')
45+
->will($this->returnValue(true));
46+
4247
$definition->expects($this->once())
4348
->method('getClass')
4449
->will($this->returnValue("%translator.class%"));

0 commit comments

Comments
 (0)
0