Security update for Core, with self-updated composer
[yaffs-website] / web / core / tests / Drupal / Tests / Core / Routing / MethodFilterTest.php
index 1b72b75303b8a91a8ee5b5c67d851fd09f126fb4..8a7554dec903099e0a80bbc70f9e5973edc140b3 100644 (file)
@@ -3,6 +3,7 @@
 namespace Drupal\Tests\Core\Routing;
 
 use Drupal\Core\Routing\MethodFilter;
+use Drupal\Tests\UnitTestCase;
 use Symfony\Component\HttpFoundation\Request;
 use Symfony\Component\Routing\Exception\MethodNotAllowedException;
 use Symfony\Component\Routing\Route;
@@ -12,7 +13,7 @@ use Symfony\Component\Routing\RouteCollection;
  * @coversDefaultClass \Drupal\Core\Routing\MethodFilter
  * @group Routing
  */
-class MethodFilterTest extends \PHPUnit_Framework_TestCase {
+class MethodFilterTest extends UnitTestCase {
 
   /**
    * @covers ::applies