Skip to content

Commit cb42b54

Browse files
committed
Fixed tests
1 parent 11fda7c commit cb42b54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/EventListener/VoterInitializerListenerTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function testHandleSubRequest()
1717
->method('getRequestType')
1818
->will($this->returnValue(HttpKernelInterface::SUB_REQUEST));
1919

20-
$voter = $this->getMockBuilder('Knp\Menu\Silex\Voter\RouteVoter')
20+
$voter = $this->getMockBuilder('Knp\Menu\Matcher\Voter\RouteVoter')
2121
->disableOriginalConstructor()
2222
->getMock();
2323
$voter->expects($this->never())
@@ -43,7 +43,7 @@ public function testHandleMasterRequest()
4343
->method('getRequest')
4444
->will($this->returnValue($request));
4545

46-
$voter = $this->getMockBuilder('Knp\Menu\Silex\Voter\RouteVoter')
46+
$voter = $this->getMockBuilder('Knp\Menu\Matcher\Voter\RouteVoter')
4747
->disableOriginalConstructor()
4848
->getMock();
4949
$voter->expects($this->once())

0 commit comments

Comments
 (0)