We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a40409c commit bb2f827Copy full SHA for bb2f827
phpunit.xml.dist
@@ -9,7 +9,7 @@
9
processIsolation="true"
10
stopOnFailure="false"
11
syntaxCheck="false"
12
- bootstrap="tests/bootstrap.php"
+ bootstrap="vendor/autoload.php"
13
>
14
<testsuites>
15
<testsuite name="Yii2 Config Test Suite">
tests/bootstrap.php
@@ -1,10 +1 @@
1
<?php
2
-require __DIR__ . '/../vendor/autoload.php';
3
-
4
-// Some travis environments use phpunit > 6
5
-$newClass = '\PHPUnit\Framework\TestCase';
6
-$oldClass = '\PHPUnit_Framework_TestCase';
7
-if (!class_exists($newClass) && class_exists($oldClass)) {
8
- class_alias($oldClass, $newClass);
-}
0 commit comments