Browse Source

Fixed BaseObjectTest

tags/2019.03^2
Philipp Holzer 1 year ago
parent
commit
438f31ff05
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tests/src/BaseObjectTest.php

+ 2
- 2
tests/src/BaseObjectTest.php View File

@@ -7,7 +7,7 @@ namespace Friendica\Test;

use Friendica\App;
use Friendica\BaseObject;
use Monolog\Logger;
use Friendica\Core\Logger;
use PHPUnit\Framework\TestCase;

/**
@@ -39,7 +39,7 @@ class BaseObjectTest extends TestCase
*/
public function testSetApp()
{
$logger = Logger::create('test', 'baseobject');
$logger = Logger::create('test');
$app = new App(__DIR__ . '/../../', $logger);
$this->assertNull($this->baseObject->setApp($app));
$this->assertEquals($app, $this->baseObject->getApp());


Loading…
Cancel
Save