]> git.mxchange.org Git - friendica.git/blobdiff - tests/bootstrap.php
Fixes: (#5447)
[friendica.git] / tests / bootstrap.php
index 875ec8ab7d5c5a4f2d1b808c972b1c48814eba0d..4bc3e932f0118529faae6ca0d3560985603d2ccf 100644 (file)
@@ -13,6 +13,10 @@ 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
 if (!class_exists(TestCase::class)) {
        class_alias(PHPUnit_Framework_TestCase::class, TestCase::class);