Removed test mode
This commit is contained in:
parent
53237a0259
commit
0fa6921845
|
@ -57,8 +57,6 @@ class StaticDatabase extends Database
|
|||
$this->connection = self::$staticConnection;
|
||||
$this->connected = true;
|
||||
|
||||
$this->setTestmode(true);
|
||||
|
||||
return $this->connected;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user