mirror of
https://github.com/friendica/friendica
synced 2025-04-28 15:44:24 +02:00
Replace own VoidLogger with PSR-Standard NullLogger()
This commit is contained in:
parent
184f6cc255
commit
fa55928ea3
7 changed files with 20 additions and 231 deletions
|
@ -32,11 +32,11 @@ use Friendica\Database\Database;
|
|||
use Friendica\DI;
|
||||
use Friendica\Test\Util\RendererMockTrait;
|
||||
use Friendica\Test\Util\VFSTrait;
|
||||
use Friendica\Core\Logger\Type\VoidLogger;
|
||||
use Mockery;
|
||||
use Mockery\MockInterface;
|
||||
use org\bovigo\vfs\vfsStream;
|
||||
use org\bovigo\vfs\vfsStreamFile;
|
||||
use Psr\Log\NullLogger;
|
||||
|
||||
class AutomaticInstallationConsoleTest extends ConsoleTest
|
||||
{
|
||||
|
@ -117,7 +117,7 @@ class AutomaticInstallationConsoleTest extends ConsoleTest
|
|||
});
|
||||
|
||||
$this->mode->shouldReceive('isInstall')->andReturn(true);
|
||||
Logger::init(new VoidLogger());
|
||||
Logger::init(new NullLogger());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue