Issue #2080339 by mrsinguyen: Remove Unused local variable $routes from /core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php.

8.0.x
Nathaniel Catchpole 2013-09-16 12:16:22 +01:00
parent feca732df4
commit bcbc3dc9ea
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ class RouteProviderTest extends UnitTestBase {
$routes = $provider->getRoutesByPattern($path);
$this->assertFalse(count($routes), 'No path found with this pattern.');
$routes = $provider->getRouteCollectionForRequest($request);
$provider->getRouteCollectionForRequest($request);
$this->fail(t('No exception was thrown.'));
}
catch (\Exception $e) {