X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2Fbootstrap.php;h=9f7c1c3f9195f0df55ee744b0f3c6144e85600d1;hb=fad915cd29b3b9b03d9ccb7dd260167258ef6d14;hp=7dc3c9868e2f6852f29545b97d3ce35e2150010c;hpb=1874a32728142f2c12724562eb122eb1cd1370fe;p=friendica.git diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 7dc3c9868e..9f7c1c3f91 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -20,8 +20,6 @@ * This file is loaded by PHPUnit before any test. */ -use Dice\Dice; -use Friendica\DI; use PHPUnit\Framework\TestCase; if (!file_exists(__DIR__ . '/../vendor/autoload.php')) { @@ -34,8 +32,3 @@ require __DIR__ . '/../vendor/autoload.php'; if (!class_exists(TestCase::class)) { class_alias(\PHPUnit\Framework\TestCase::class, TestCase::class); } - -$dice = new Dice(); -$dice = $dice->addRules(include __DIR__ . '/../static/dependencies.config.php'); - -DI::init($dice);