Added VoidLogger for CurResultTest

This commit is contained in:
Philipp Holzer 2019-03-03 15:20:26 +01:00 committed by Hypolite Petovan
parent 22f1983cc0
commit 11a9c5c941

View file

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