Possibly fix the test problems
This commit is contained in:
parent
999cdc7db9
commit
5315bc3712
1 changed files with 4 additions and 1 deletions
|
@ -82,7 +82,10 @@ abstract class FixtureTest extends DatabaseTest
|
||||||
|
|
||||||
$dba->setTestmode(true);
|
$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
|
// Load the API dataset for the whole API
|
||||||
$this->loadFixture(__DIR__ . '/datasets/api.fixture.php', $dba);
|
$this->loadFixture(__DIR__ . '/datasets/api.fixture.php', $dba);
|
||||||
|
|
Loading…
Reference in a new issue