]> git.mxchange.org Git - friendica.git/commitdiff
[tests] Prevent bin/worker.php from being called during tests
authorHypolite Petovan <mrpetovan@gmail.com>
Sat, 7 Jul 2018 21:46:51 +0000 (17:46 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Mon, 16 Jul 2018 23:38:16 +0000 (19:38 -0400)
tests/bootstrap.php

index e566b58042f5c0b445e4aee60b079e4f9993ea5d..6a4f778024149df6bb506bf0e77599880076b678 100644 (file)
@@ -13,7 +13,7 @@ require_once __DIR__.'/../include/api.php';
 
 new App(dirname(__DIR__));
 
-\Friendica\Core\Config::set('system', 'url', 'http://localhost/');
+\Friendica\Core\Config::set('system', 'worker_dont_fork', true);
 
 // Backward compatibility
 if (!class_exists(TestCase::class)) {