Convert WebTests to UnitTests.

8.0.x
Larry Garfield 2012-06-10 17:21:24 -05:00 committed by effulgentsia
parent 81c3bf6dff
commit 3019c6f74d
2 changed files with 4 additions and 9 deletions

View File

@ -8,17 +8,14 @@
use Symfony\Component\Routing\Route;
use Symfony\Component\Routing\RouteCollection;
use Drupal\simpletest\WebTestBase;
use Drupal\simpletest\UnitTestBase;
use Drupal\Core\Database\Database;
use Drupal\Core\Routing\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() {
return array(
'name' => 'Routing',
@ -213,11 +210,8 @@ class UrlMatcherDumperTestCase extends WebTestBase {
/**
* 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() {
return array(
'name' => 'Routes',

1
core/vendor/Routing vendored Submodule

@ -0,0 +1 @@
Subproject commit a05bcaaaa43025037a0667e158aed9b65a147e80