mirror of
https://github.com/friendica/friendica
synced 2025-04-30 21:44:22 +02:00
Fix tests
This commit is contained in:
parent
2a87464c97
commit
07aaf292ec
12 changed files with 134 additions and 144 deletions
|
@ -23,20 +23,6 @@ class BaseObjectTest extends TestCase
|
|||
*/
|
||||
private $baseObject;
|
||||
|
||||
/**
|
||||
* Test the setApp() and getApp() function.
|
||||
* @return void
|
||||
*/
|
||||
public function testGetSetApp()
|
||||
{
|
||||
$baseObject = new BaseObject();
|
||||
$this->setUpVfsDir();
|
||||
$this->mockApp($this->root);
|
||||
|
||||
$baseObject->setApp($this->app);
|
||||
$this->assertEquals($this->app, $baseObject->getApp());
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the getApp() function without App
|
||||
* @expectedException Friendica\Network\HTTPException\InternalServerErrorException
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue