mirror of
https://github.com/friendica/friendica
synced 2024-12-23 03:20:15 +00:00
Remove direct App instantiation from tests
This commit is contained in:
parent
9be9741562
commit
12e34cc5fb
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ abstract class CacheTest extends DatabaseTest
|
||||||
$this->instance = $this->getInstance();
|
$this->instance = $this->getInstance();
|
||||||
|
|
||||||
// Reusable App object
|
// Reusable App object
|
||||||
$this->app = new App(__DIR__.'/../');
|
$this->app = \Friendica\BaseObject::getApp();
|
||||||
$a = $this->app;
|
$a = $this->app;
|
||||||
|
|
||||||
// Default config
|
// Default config
|
||||||
|
|
Loading…
Reference in a new issue