Browse Source

Make tests PHPUnit 6.0 compatible

pull/10259/head
Philipp 4 months ago
parent
commit
1bcfa714a1
No known key found for this signature in database GPG Key ID: 9A28B7D4FF5667BD
  1. 2
      tests/bootstrap.php
  2. 2
      tests/datasets/api.fixture.php

2
tests/bootstrap.php

@ -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();

2
tests/datasets/api.fixture.php

@ -738,4 +738,4 @@ return [
'uid' => 42,
],
],
];
];
Loading…
Cancel
Save