]> git.mxchange.org Git - friendica.git/commitdiff
Removed test mode
authorMichael <heluecht@pirati.ca>
Fri, 15 May 2020 19:58:13 +0000 (19:58 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 15 May 2020 19:58:13 +0000 (19:58 +0000)
tests/Util/Database/StaticDatabase.php
tests/src/Core/StorageManagerTest.php

index c3037974f1b0602a550c6ada04042659063b61c0..f2ed6c700e76d97860aeea939d3a6fe052b67951 100644 (file)
@@ -57,8 +57,6 @@ class StaticDatabase extends Database
                $this->connection = self::$staticConnection;
                $this->connected = true;
 
-               $this->setTestmode(true);
-
                return $this->connected;
        }
 
index 30342099c55bdfb445e2614e64d3ec59c5e20a0a..c6f4558b701e52da36ebed61093146d51f49c375 100644 (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);