]> git.mxchange.org Git - friendica.git/commitdiff
Added VoidLogger for CurResultTest
authorPhilipp Holzer <admin@philipp.info>
Sun, 3 Mar 2019 14:20:26 +0000 (15:20 +0100)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 23 Mar 2019 03:11:14 +0000 (23:11 -0400)
tests/src/Network/CurlResultTest.php

index bb0bcf2471fe6a25144947dd93ad587e646a057e..b542371b3922432eda53ae84e2cb82e318de256c 100644 (file)
@@ -2,11 +2,20 @@
 
 namespace Friendica\Test\src\Network;
 
+use Friendica\Core\Logger;
 use Friendica\Network\CurlResult;
+use Friendica\Util\Logger\VoidLogger;
 use PHPUnit\Framework\TestCase;
 
 class CurlResultTest extends TestCase
 {
+       protected function setUp()
+       {
+               parent::setUp();
+
+               Logger::init(new VoidLogger());
+       }
+
        /**
         * @small
         */