Removed test mode

This commit is contained in:
Michael 2020-05-15 19:58:13 +00:00
parent 53237a0259
commit 0fa6921845
2 changed files with 0 additions and 5 deletions

View file

@ -57,8 +57,6 @@ class StaticDatabase extends Database
$this->connection = self::$staticConnection;
$this->connected = true;
$this->setTestmode(true);
return $this->connected;
}

View file

@ -34,7 +34,6 @@ use Friendica\Factory\ConfigFactory;
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;
@ -75,8 +74,6 @@ class StorageManagerTest extends DatabaseTest
$this->dba = new StaticDatabase($configCache, $profiler, $this->logger);
$this->dba->setTestmode(true);
$configModel = new Config($this->dba);
$this->config = new PreloadConfig($configCache, $configModel);