mirror of
https://github.com/friendica/friendica
synced 2024-05-21 02:26:43 +02:00
Possibly fix the test problems
This commit is contained in:
parent
999cdc7db9
commit
5315bc3712
|
@ -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