Skip to content

Commit 134245c

Browse files
committed
fix tests
1 parent f0a6e23 commit 134245c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Tests/Unit/Doctrine/Phpcr/LocaleListenerTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ public function testHaslocale()
108108
->will($this->returnValue('some'))
109109
;
110110

111+
$this->routeMock->expects($this->once())
112+
->method('getRequirement')
113+
->with('_locale')
114+
->will($this->returnValue('some'))
115+
;
116+
111117
$this->routeMock->expects($this->never())
112118
->method('setDefault')
113119
;

0 commit comments

Comments
 (0)