Skip to content

Commit

Permalink
[appveyor] Workaround GitHub disabling of low versions of TLS
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Feb 26, 2018
1 parent 8467b9c commit c3a7481
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/RouterTest.php
Expand Up @@ -12,6 +12,7 @@
namespace Symfony\Component\Routing\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Component\Routing\RouteCollection;
use Symfony\Component\Routing\Router;
use Symfony\Component\HttpFoundation\Request;

Expand Down Expand Up @@ -83,7 +84,7 @@ public function testThatRouteCollectionIsLoaded()
{
$this->router->setOption('resource_type', 'ResourceType');

$routeCollection = $this->getMockBuilder('Symfony\Component\Routing\RouteCollection')->getMock();
$routeCollection = new RouteCollection();

$this->loader->expects($this->once())
->method('load')->with('routing.yml', 'ResourceType')
Expand Down

0 comments on commit c3a7481

Please sign in to comment.