From cbc449b8908f27978d0502b9f5dcbc45788fb544 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Wed, 19 Nov 2014 20:04:10 +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 28fb63464d4f..24f52366c6a6 100644 --- a/core/scripts/run-tests.sh +++ b/core/scripts/run-tests.sh @@ -528,7 +528,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')) { $phpunit_status = simpletest_script_run_phpunit($test_id, $test_class); if ($phpunit_status > $total_status) { $total_status = $phpunit_status; @@ -831,7 +831,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