From 290712e1560646b3c5ed93d32259439b60b776d2 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Thu, 20 Nov 2014 05:41:34 +0000 Subject: [PATCH] Issue #2376039 by znerol, Wim Leers, alexpott: Undefined property ContainerAwareEventDispatcherTest::results in run-tests.sh --- core/scripts/run-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh index 7e71112c7b23..c55247203d54 100644 --- a/core/scripts/run-tests.sh +++ b/core/scripts/run-tests.sh @@ -522,7 +522,7 @@ function simpletest_script_execute_batch($test_classes) { $test_class = array_shift($test_classes); // Process phpunit tests immediately since they are fast and we don't need // to fork for them. - if (is_subclass_of($test_class, 'Drupal\Tests\UnitTestCase')) { + if (is_subclass_of($test_class, '\PHPUnit_Framework_TestCase')) { simpletest_script_run_phpunit($test_id, $test_class); continue; } @@ -811,7 +811,7 @@ function simpletest_script_get_test_list() { else { foreach ($matches[1] as $class_name) { $namespace_class = $namespace . '\\' . $class_name; - if (is_subclass_of($namespace_class, '\Drupal\simpletest\TestBase') || is_subclass_of($namespace_class, '\Drupal\Tests\UnitTestCase')) { + if (is_subclass_of($namespace_class, '\Drupal\simpletest\TestBase') || is_subclass_of($namespace_class, '\PHPUnit_Framework_TestCase')) { $test_list[] = $namespace_class; } } -- GitLab