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

This commit is contained in:
Hypolite Petovan 2018-07-07 17:46:51 -04:00
parent 762a786611
commit fc5d8e41a4

View File

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