Commit 3019c6f7 authored by Crell's avatar Crell Committed by effulgentsia
Browse files

Convert WebTests to UnitTests.

parent 81c3bf6d
...@@ -8,17 +8,14 @@ ...@@ -8,17 +8,14 @@
use Symfony\Component\Routing\Route; use Symfony\Component\Routing\Route;
use Symfony\Component\Routing\RouteCollection; use Symfony\Component\Routing\RouteCollection;
use Drupal\simpletest\WebTestBase; use Drupal\simpletest\UnitTestBase;
use Drupal\Core\Database\Database; use Drupal\Core\Database\Database;
use Drupal\Core\Routing\UrlMatcherDumper; use Drupal\Core\Routing\UrlMatcherDumper;
/** /**
* Basic tests for the UrlMatcherDumper. * Basic tests for the UrlMatcherDumper.
*
* Note: This should be a UnitTestBase, but those are broken right now in
* Drupal HEAD. Convert it to a UnitTest when that gets fixed.
*/ */
class UrlMatcherDumperTestCase extends WebTestBase { class UrlMatcherDumperTestCase extends UnitTestBase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => 'Routing', 'name' => 'Routing',
...@@ -213,11 +210,8 @@ class UrlMatcherDumperTestCase extends WebTestBase { ...@@ -213,11 +210,8 @@ class UrlMatcherDumperTestCase extends WebTestBase {
/** /**
* Basic tests for the Route. * Basic tests for the Route.
*
* Note: This should be a UnitTestBase, but those are broken right now in
* Drupal HEAD. Convert it to a UnitTest when that gets fixed.
*/ */
class RouteTestCase extends WebTestBase { class RouteTestCase extends UnitTestBase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => 'Routes', 'name' => 'Routes',
......
Routing @ a05bcaaa
Subproject commit a05bcaaaa43025037a0667e158aed9b65a147e80
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment