We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02403e3 commit a8b4b6eCopy full SHA for a8b4b6e
Test/Integration/TestCase.php
@@ -19,13 +19,7 @@
19
use Magento\Store\Model\ScopeInterface;
20
use Magento\TestFramework\Helper\Bootstrap;
21
22
-if (class_exists('PHPUnit\Framework\TestCase')) {
23
- class_alias('PHPUnit\Framework\TestCase', '\TC');
24
-} else {
25
- class_alias('\PHPUnit_Framework_TestCase', '\TC');
26
-}
27
-
28
-abstract class TestCase extends \TC
+abstract class TestCase extends \PHPUnit\Framework\TestCase
29
{
30
/**
31
* @var ObjectManagerInterface
composer.json
@@ -24,7 +24,8 @@
}
],
"require-dev": {
- "phpcompatibility/php-compatibility": "^9.2"
+ "phpcompatibility/php-compatibility": "^9.2",
+ "phpunit/phpunit": "^9.5|^10.5"
},
"autoload": {
"files": [ "registration.php" ],
0 commit comments