]> git.mxchange.org Git - friendica.git/commitdiff
Set system.hostname in test bootstrap
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 8 Jul 2018 05:46:22 +0000 (01:46 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Mon, 16 Jul 2018 23:38:16 +0000 (19:38 -0400)
tests/bootstrap.php

index 6c04450b6a5175898c48adb0abc25caa79f2d547..4bc3e932f0118529faae6ca0d3560985603d2ccf 100644 (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