Skip to content

Commit 298fe36

Browse files
committed
Fixing test - bad mock
1 parent b32ac84 commit 298fe36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Routing/Tests/Loader/ServiceRouterLoaderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function testLoadCallsServiceAndReturnsCollection()
2121
{
2222
$routeLoader = $this->getMock('Symfony\Component\Routing\Loader\RouteLoaderInterface');
2323

24-
$container = $this->getMock('Symfony\\Component\\DependencyInjection\\Container', array('get'));
24+
$container = $this->getMock('Symfony\\Component\\DependencyInjection\\ContainerInterface', array('get'));
2525

2626
$container
2727
->expects($this->any())
@@ -58,7 +58,7 @@ public function testExceptionOnInterfaceNotImplemented()
5858
// anything that doesn't implement the interface
5959
$routeLoader = new \stdClass();
6060

61-
$container = $this->getMock('Symfony\\Component\\DependencyInjection\\Container', array('get'));
61+
$container = $this->getMock('Symfony\\Component\\DependencyInjection\\ContainerInterface', array('get'));
6262

6363
$container
6464
->expects($this->once())

0 commit comments

Comments
 (0)