bugfix test
This commit is contained in:
parent
81cb6bec30
commit
83f187a047
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ namespace Friendica\Test;
|
||||||
|
|
||||||
use Friendica\App;
|
use Friendica\App;
|
||||||
use Friendica\BaseObject;
|
use Friendica\BaseObject;
|
||||||
use Friendica\Util\Logger;
|
use Friendica\Util\LoggerFactory;
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,7 +39,7 @@ class BaseObjectTest extends TestCase
|
||||||
*/
|
*/
|
||||||
public function testSetApp()
|
public function testSetApp()
|
||||||
{
|
{
|
||||||
$logger = $logger = Logger\LoggerFactory::create('test');
|
$logger = $logger = LoggerFactory::create('test');
|
||||||
$app = new App(__DIR__ . '/../../', $logger);
|
$app = new App(__DIR__ . '/../../', $logger);
|
||||||
$this->assertNull($this->baseObject->setApp($app));
|
$this->assertNull($this->baseObject->setApp($app));
|
||||||
$this->assertEquals($app, $this->baseObject->getApp());
|
$this->assertEquals($app, $this->baseObject->getApp());
|
||||||
|
|
Loading…
Reference in a new issue