mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:42:53 +00:00
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);
|
||||
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue