]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Core/Lock/LockTest.php
Splitting ConfigCache & PConfigCache
[friendica.git] / tests / src / Core / Lock / LockTest.php
index 28f51733f428d9f7748dd0d52fa5a037a50bc047..7202058e4af4552569d6012c3fc5016c8fc822a0 100644 (file)
@@ -2,9 +2,11 @@
 
 namespace Friendica\Test\src\Core\Lock;
 
+use Friendica\Core\Logger;
 use Friendica\Test\MockedTest;
 use Friendica\Test\Util\AppMockTrait;
 use Friendica\Test\Util\VFSTrait;
+use Psr\Log\NullLogger;
 
 abstract class LockTest extends MockedTest
 {
@@ -32,6 +34,8 @@ abstract class LockTest extends MockedTest
                        ->shouldReceive('getHostname')
                        ->andReturn('friendica.local');
 
+               Logger::init(new NullLogger());
+
                parent::setUp();
                $this->instance = $this->getInstance();
                $this->instance->releaseAll();