X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsimpletest%2Ftests%2Fsrc%2FUnit%2FSimpletestPhpunitRunCommandTest.php;fp=web%2Fcore%2Fmodules%2Fsimpletest%2Ftests%2Fsrc%2FUnit%2FSimpletestPhpunitRunCommandTest.php;h=63fe1bb8a9278bf85efa90bd8bb83b146da8d944;hp=a96db963c8a66273e18940db7106bb83a57788db;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php b/web/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php index a96db963c..63fe1bb8a 100644 --- a/web/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php +++ b/web/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php @@ -4,15 +4,19 @@ namespace Drupal\Tests\simpletest\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; use Drupal\Core\File\FileSystemInterface; +use PHPUnit\Framework\TestCase; /** * Tests simpletest_run_phpunit_tests() handles PHPunit fatals correctly. * + * We don't extend Drupal\Tests\UnitTestCase here because its $root property is + * not static and we need it to be static here. + * * @group simpletest * * @runTestsInSeparateProcesses */ -class SimpletestPhpunitRunCommandTest extends \PHPUnit_Framework_TestCase { +class SimpletestPhpunitRunCommandTest extends TestCase { /** * Path to the app root.