Possibly fix the test problems

This commit is contained in:
Michael 2023-01-28 15:29:55 +00:00
parent 999cdc7db9
commit 5315bc3712

View file

@ -82,7 +82,10 @@ abstract class FixtureTest extends DatabaseTest
$dba->setTestmode(true);
DBStructure::checkInitialValues();
if (DI::lock()->acquire('Test-checkInitialValues', 0)) {
DBStructure::checkInitialValues();
DI::lock()->release('Test-checkInitialValues');
}
// Load the API dataset for the whole API
$this->loadFixture(__DIR__ . '/datasets/api.fixture.php', $dba);