From: Philipp Holzer Date: Tue, 1 Jan 2019 20:09:42 +0000 (+0100) Subject: bugfix test X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=83f187a047419c521717c1715825955a6c344244;p=friendica.git bugfix test --- diff --git a/tests/src/BaseObjectTest.php b/tests/src/BaseObjectTest.php index 8eef2ac3db..9743ca887f 100644 --- a/tests/src/BaseObjectTest.php +++ b/tests/src/BaseObjectTest.php @@ -7,7 +7,7 @@ namespace Friendica\Test; use Friendica\App; use Friendica\BaseObject; -use Friendica\Util\Logger; +use Friendica\Util\LoggerFactory; use PHPUnit\Framework\TestCase; /** @@ -39,7 +39,7 @@ class BaseObjectTest extends TestCase */ public function testSetApp() { - $logger = $logger = Logger\LoggerFactory::create('test'); + $logger = $logger = LoggerFactory::create('test'); $app = new App(__DIR__ . '/../../', $logger); $this->assertNull($this->baseObject->setApp($app)); $this->assertEquals($app, $this->baseObject->getApp());