X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2Fbootstrap.php;h=ada2b1a0ec6852af6cc387841ef464ce51077e1d;hb=0472c7b57d0bc6852e9b6eb6aeb8018c384d499f;hp=6c04450b6a5175898c48adb0abc25caa79f2d547;hpb=47992d06cee2542b2c7cf00ad775bb91cb78b6cb;p=friendica.git diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 6c04450b6a..ada2b1a0ec 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -3,19 +3,10 @@ * This file is loaded by PHPUnit before any test. */ -use Friendica\App; use PHPUnit\DbUnit\DataSet\YamlDataSet; use PHPUnit\DbUnit\TestCaseTrait; use PHPUnit\Framework\TestCase; -require_once __DIR__.'/../boot.php'; -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)) { class_alias(PHPUnit_Framework_TestCase::class, TestCase::class);