[tests] Prevent bin/worker.php from being called during tests
This commit is contained in:
parent
762a786611
commit
fc5d8e41a4
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ require_once __DIR__.'/../include/api.php';
|
||||||
|
|
||||||
new App(dirname(__DIR__));
|
new App(dirname(__DIR__));
|
||||||
|
|
||||||
\Friendica\Core\Config::set('system', 'url', 'http://localhost/');
|
\Friendica\Core\Config::set('system', 'worker_dont_fork', true);
|
||||||
|
|
||||||
// Backward compatibility
|
// Backward compatibility
|
||||||
if (!class_exists(TestCase::class)) {
|
if (!class_exists(TestCase::class)) {
|
||||||
|
|
Loading…
Reference in a new issue