Skip to content

Commit b8f9830

Browse files
committed
Fixing test - bad mock
1 parent 15dd4d2 commit b8f9830

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy