sforkowany z mirror/friendica
Remove direct App instantiation from tests
rodzic
9be9741562
commit
12e34cc5fb
|
@ -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
|
||||||
|
|
Ładowanie…
Reference in New Issue