Set system.hostname in test bootstrap
This commit is contained in:
parent
59c38d1b73
commit
8fe9a46ccf
|
@ -14,6 +14,7 @@ require_once __DIR__.'/../include/api.php';
|
||||||
new App(dirname(__DIR__));
|
new App(dirname(__DIR__));
|
||||||
|
|
||||||
\Friendica\Core\Config::set('system', 'url', 'http://localhost');
|
\Friendica\Core\Config::set('system', 'url', 'http://localhost');
|
||||||
|
\Friendica\Core\Config::set('system', 'hostname', 'localhost');
|
||||||
\Friendica\Core\Config::set('system', 'worker_dont_fork', true);
|
\Friendica\Core\Config::set('system', 'worker_dont_fork', true);
|
||||||
|
|
||||||
// Backward compatibility
|
// Backward compatibility
|
||||||
|
|
Loading…
Reference in a new issue