mirror of
https://github.com/friendica/friendica
synced 2025-04-26 16:30:12 +00:00
Adding unittest for empty setApp()
This commit is contained in:
parent
b79bd63231
commit
ef16e1a037
2 changed files with 18 additions and 5 deletions
|
@ -28,7 +28,7 @@ class BaseObject
|
|||
public static function getApp()
|
||||
{
|
||||
if (empty(self::$app)) {
|
||||
throw new InternalServerErrorException('App isn\' initialized.');
|
||||
throw new InternalServerErrorException('App isn\'t initialized.');
|
||||
}
|
||||
|
||||
return self::$app;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue