projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
modules
/
simpletest
/
tests
/
src
/
Unit
/
SimpletestPhpunitRunCommandTest.php
diff --git
a/web/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php
b/web/core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php
index a96db963c8a66273e18940db7106bb83a57788db..63fe1bb8a9278bf85efa90bd8bb83b146da8d944 100644
(file)
--- 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 Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\Core\File\FileSystemInterface;
+use PHPUnit\Framework\TestCase;
/**
* Tests simpletest_run_phpunit_tests() handles PHPunit fatals correctly.
*
/**
* 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
*/
* @group simpletest
*
* @runTestsInSeparateProcesses
*/
-class SimpletestPhpunitRunCommandTest extends
\PHPUnit_Framework_
TestCase {
+class SimpletestPhpunitRunCommandTest extends TestCase {
/**
* Path to the app root.
/**
* Path to the app root.