]> git.mxchange.org Git - friendica.git/commitdiff
bugfix test
authorPhilipp Holzer <admin@philipp.info>
Tue, 1 Jan 2019 20:09:42 +0000 (21:09 +0100)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 21 Jan 2019 14:59:10 +0000 (09:59 -0500)
tests/src/BaseObjectTest.php

index 8eef2ac3dbfd560681bf50300ec3d7c0a68b41c3..9743ca887fa01fa51328bde6ae91021279c4f424 100644 (file)
@@ -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());