Make tests PHPUnit 6.0 compatible

This commit is contained in:
Philipp 2021-05-16 23:22:44 +02:00
parent a4a2f4616c
commit 1bcfa714a1
No known key found for this signature in database
GPG Key ID: 9A28B7D4FF5667BD
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ require __DIR__ . '/../vendor/autoload.php';
// Backward compatibility
if (!class_exists(TestCase::class)) {
class_alias(PHPUnit_Framework_TestCase::class, TestCase::class);
class_alias(\PHPUnit\Framework\TestCase::class, TestCase::class);
}
$dice = new Dice();

View File

@ -738,4 +738,4 @@ return [
'uid' => 42,
],
],
];
];