mirror of
https://github.com/friendica/friendica
synced 2025-04-30 21:44:22 +02:00
Fix Api and BaseObject tests
This commit is contained in:
parent
41f781c52a
commit
ba3cd1334a
2 changed files with 10 additions and 11 deletions
|
@ -33,7 +33,7 @@ class BaseObjectTest extends TestCase
|
|||
$this->setUpVfsDir();
|
||||
$this->mockApp($this->root);
|
||||
|
||||
$this->assertNull($baseObject->setApp($this->app));
|
||||
$baseObject->setApp($this->app);
|
||||
$this->assertEquals($this->app, $baseObject->getApp());
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,6 @@ class BaseObjectTest extends TestCase
|
|||
*/
|
||||
public function testGetAppFailed()
|
||||
{
|
||||
$baseObject = new BaseObject();
|
||||
$baseObject->getApp();
|
||||
BaseObject::getApp();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue