[Routing] remove useless failing mocks
This commit is contained in:
parent
4f14fff13b
commit
87bbe5ef5f
|
@ -102,7 +102,7 @@ class RouterTest extends TestCase
|
|||
|
||||
$this->loader->expects($this->once())
|
||||
->method('load')->with('routing.yml', null)
|
||||
->will($this->returnValue($this->getMockBuilder('Symfony\Component\Routing\RouteCollection')->getMock()));
|
||||
->will($this->returnValue(new RouteCollection()));
|
||||
|
||||
$this->assertInstanceOf('Symfony\\Component\\Routing\\Matcher\\UrlMatcher', $this->router->getMatcher());
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ class RouterTest extends TestCase
|
|||
|
||||
$this->loader->expects($this->once())
|
||||
->method('load')->with('routing.yml', null)
|
||||
->will($this->returnValue($this->getMockBuilder('Symfony\Component\Routing\RouteCollection')->getMock()));
|
||||
->will($this->returnValue(new RouteCollection()));
|
||||
|
||||
$this->assertInstanceOf('Symfony\\Component\\Routing\\Generator\\UrlGenerator', $this->router->getGenerator());
|
||||
}
|
||||
|
|
Reference in New Issue