Browse Source

[tests] Prevent bin/worker.php from being called during tests

pull/5295/head
Hypolite Petovan 4 years ago
parent
commit
fc5d8e41a4
  1. 2
      tests/bootstrap.php

2
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)) {

Loading…
Cancel
Save