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();
- StaticDatabase::setTestmode(true);
-
- DBStructure::checkInitialValues();
-
parent::setUp();
}
namespace Friendica\Test\Util\Database;
use Friendica\Database\Database;
+use Friendica\Database\DBStructure;
use PDO;
use PDOException;
$this->connection = self::$staticConnection;
$this->connected = true;
+ $this->setTestmode(true);
+
+ DBStructure::checkInitialValues();
+
return $this->connected;
}