namespace Friendica\Test\src\Core\Lock;
+use Friendica\Core\Config;
use Friendica\Test\DatabaseTest;
abstract class LockTest extends DatabaseTest
{
parent::setUp();
$this->instance = $this->getInstance();
+
+ // Reusable App object
+ $this->app = \Friendica\BaseObject::getApp();
+
+ // Default config
+ Config::set('config', 'hostname', 'localhost');
+ Config::set('system', 'throttle_limit_day', 100);
+ Config::set('system', 'throttle_limit_week', 100);
+ Config::set('system', 'throttle_limit_month', 100);
+ Config::set('system', 'theme', 'system_theme');
}
public function testLock() {