mirror of
https://github.com/friendica/friendica
synced 2025-04-26 02:30:11 +00:00
Replace BaseObject class with DI::* calls
This commit is contained in:
parent
1de3f186d7
commit
388b963714
98 changed files with 321 additions and 440 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue