From fc5d8e41a4a154a6ff13e8b118d03d7d01246df1 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 7 Jul 2018 17:46:51 -0400 Subject: [PATCH] [tests] Prevent bin/worker.php from being called during tests --- tests/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index e566b58042..6a4f778024 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -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)) { -- 2.39.5