Make tests PHPUnit 6.0 compatible
This commit is contained in:
parent
a4a2f4616c
commit
1bcfa714a1
|
@ -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();
|
||||||
|
|
|
@ -738,4 +738,4 @@ return [
|
||||||
'uid' => 42,
|
'uid' => 42,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user