Make tests PHPUnit 6.0 compatible
This commit is contained in:
parent
a4a2f4616c
commit
1bcfa714a1
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ require __DIR__ . '/../vendor/autoload.php';
|
||||||
|
|
||||||
// Backward compatibility
|
// Backward compatibility
|
||||||
if (!class_exists(TestCase::class)) {
|
if (!class_exists(TestCase::class)) {
|
||||||
class_alias(PHPUnit_Framework_TestCase::class, TestCase::class);
|
class_alias(\PHPUnit\Framework\TestCase::class, TestCase::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
$dice = new Dice();
|
$dice = new Dice();
|
||||||
|
|
Loading…
Reference in a new issue