From: Michael Date: Fri, 15 May 2020 19:58:13 +0000 (+0000) Subject: Removed test mode X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0fa6921845d127b6573fc3dc817252cce328f37a;p=friendica.git Removed test mode --- diff --git a/tests/Util/Database/StaticDatabase.php b/tests/Util/Database/StaticDatabase.php index c3037974f1..f2ed6c700e 100644 --- a/tests/Util/Database/StaticDatabase.php +++ b/tests/Util/Database/StaticDatabase.php @@ -57,8 +57,6 @@ class StaticDatabase extends Database $this->connection = self::$staticConnection; $this->connected = true; - $this->setTestmode(true); - return $this->connected; } diff --git a/tests/src/Core/StorageManagerTest.php b/tests/src/Core/StorageManagerTest.php index 30342099c5..c6f4558b70 100644 --- a/tests/src/Core/StorageManagerTest.php +++ b/tests/src/Core/StorageManagerTest.php @@ -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);