composeer update
This commit is contained in:
6
vendor/symfony/routing/Tests/RouterTest.php
vendored
6
vendor/symfony/routing/Tests/RouterTest.php
vendored
@@ -88,7 +88,7 @@ class RouterTest extends TestCase
|
||||
|
||||
$this->loader->expects($this->once())
|
||||
->method('load')->with('routing.yml', 'ResourceType')
|
||||
->will($this->returnValue($routeCollection));
|
||||
->willReturn($routeCollection);
|
||||
|
||||
$this->assertSame($routeCollection, $this->router->getRouteCollection());
|
||||
}
|
||||
@@ -99,7 +99,7 @@ class RouterTest extends TestCase
|
||||
|
||||
$this->loader->expects($this->once())
|
||||
->method('load')->with('routing.yml', null)
|
||||
->will($this->returnValue(new RouteCollection()));
|
||||
->willReturn(new RouteCollection());
|
||||
|
||||
$this->assertInstanceOf('Symfony\\Component\\Routing\\Matcher\\UrlMatcher', $this->router->getMatcher());
|
||||
}
|
||||
@@ -110,7 +110,7 @@ class RouterTest extends TestCase
|
||||
|
||||
$this->loader->expects($this->once())
|
||||
->method('load')->with('routing.yml', null)
|
||||
->will($this->returnValue(new RouteCollection()));
|
||||
->willReturn(new RouteCollection());
|
||||
|
||||
$this->assertInstanceOf('Symfony\\Component\\Routing\\Generator\\UrlGenerator', $this->router->getGenerator());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user