X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2Fbootstrap.php;h=ada2b1a0ec6852af6cc387841ef464ce51077e1d;hb=7efde8e334d6ca52fd1608fb9a78babcea4bdc9f;hp=e566b58042f5c0b445e4aee60b079e4f9993ea5d;hpb=66ac16e101f18057a099e2f746661cfa45392a24;p=friendica.git diff --git a/tests/bootstrap.php b/tests/bootstrap.php index e566b58042..ada2b1a0ec 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -3,18 +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/'); - // Backward compatibility if (!class_exists(TestCase::class)) { class_alias(PHPUnit_Framework_TestCase::class, TestCase::class);