namespace Friendica\Test;
use Friendica\Database\Database;
+use Friendica\Database\DBStructure;
use Friendica\Test\Util\Database\StaticDatabase;
/**
// Start the first, outer transaction
StaticDatabase::getGlobConnection()->beginTransaction();
+ $this->dba->setTestmode(true);
+
+ DBStructure::checkInitialValues();
+
parent::setUp();
}
use Friendica\Model\Config\Config;
use Friendica\Model\Storage;
use Friendica\Core\Session;
+use Friendica\Database\DBStructure;
use Friendica\Test\DatabaseTest;
use Friendica\Test\Util\Database\StaticDatabase;
use Friendica\Test\Util\VFSTrait;
$this->dba = new StaticDatabase($configCache, $profiler, $this->logger);
+ $this->dba->setTestmode(true);
+
+ DBStructure::checkInitialValues();
+
$configModel = new Config($this->dba);
$this->config = new PreloadConfig($configCache, $configModel);