use Friendica\App;
use Friendica\BaseObject;
-use Monolog\Logger;
+use Friendica\Util\LoggerFactory;
use PHPUnit\Framework\TestCase;
/**
*/
public function testSetApp()
{
- $logger = Logger::create('test', 'baseobject');
+ $logger = $logger = LoggerFactory::create('test');
$app = new App(__DIR__ . '/../../', $logger);
+ LoggerFactory::enableTest($logger);
$this->assertNull($this->baseObject->setApp($app));
$this->assertEquals($app, $this->baseObject->getApp());
}