Set system.hostname in test bootstrap

This commit is contained in:
Hypolite Petovan 2018-07-08 01:46:22 -04:00
parent 59c38d1b73
commit 8fe9a46ccf
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ require_once __DIR__.'/../include/api.php';
new App(dirname(__DIR__));
\Friendica\Core\Config::set('system', 'url', 'http://localhost');
\Friendica\Core\Config::set('system', 'hostname', 'localhost');
\Friendica\Core\Config::set('system', 'worker_dont_fork', true);
// Backward compatibility