[tests] Prevent bin/worker.php from being called during tests
This commit is contained in:
parent
762a786611
commit
fc5d8e41a4
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user