Replace BaseObject class with DI::* calls

This commit is contained in:
nupplaPhil 2019-12-15 23:28:01 +01:00
parent 1de3f186d7
commit 388b963714
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
98 changed files with 321 additions and 440 deletions

View file

@ -3,7 +3,7 @@
namespace Friendica\Test\src\Network;
use Dice\Dice;
use Friendica\BaseObject;
use Friendica\DI;
use Friendica\Network\CurlResult;
use Mockery\MockInterface;
use PHPUnit\Framework\TestCase;
@ -26,7 +26,7 @@ class CurlResultTest extends TestCase
->with(LoggerInterface::class)
->andReturn($logger);
BaseObject::setDependencyInjection($dice);
DI::init($dice);
}
/**