We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8467b9c commit c3a7481Copy full SHA for c3a7481
Tests/RouterTest.php
@@ -12,6 +12,7 @@
12
namespace Symfony\Component\Routing\Tests;
13
14
use PHPUnit\Framework\TestCase;
15
+use Symfony\Component\Routing\RouteCollection;
16
use Symfony\Component\Routing\Router;
17
use Symfony\Component\HttpFoundation\Request;
18
@@ -83,7 +84,7 @@ public function testThatRouteCollectionIsLoaded()
83
84
{
85
$this->router->setOption('resource_type', 'ResourceType');
86
- $routeCollection = $this->getMockBuilder('Symfony\Component\Routing\RouteCollection')->getMock();
87
+ $routeCollection = new RouteCollection();
88
89
$this->loader->expects($this->once())
90
->method('load')->with('routing.yml', 'ResourceType')
0 commit comments