X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2Fbootstrap.php;h=4bc3e932f0118529faae6ca0d3560985603d2ccf;hb=5881fa7229a25efd382668e6cd4a3af0f8d3198c;hp=875ec8ab7d5c5a4f2d1b808c972b1c48814eba0d;hpb=32418e8660af66fde215e576cef0e660a232ea92;p=friendica.git diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 875ec8ab7d..4bc3e932f0 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -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);