Added VoidLogger for CurResultTest
This commit is contained in:
parent
22f1983cc0
commit
11a9c5c941
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue