From: Hypolite Petovan Date: Sat, 7 Jul 2018 22:03:45 +0000 (-0400) Subject: Remove direct App instantiation from tests X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=12e34cc5fbb76eb8801682e7d6617f6a905ca9e2;p=friendica.git Remove direct App instantiation from tests --- diff --git a/tests/src/Core/Cache/CacheTest.php b/tests/src/Core/Cache/CacheTest.php index 5be0e4b893..a2724c12b0 100644 --- a/tests/src/Core/Cache/CacheTest.php +++ b/tests/src/Core/Cache/CacheTest.php @@ -23,7 +23,7 @@ abstract class CacheTest extends DatabaseTest $this->instance = $this->getInstance(); // Reusable App object - $this->app = new App(__DIR__.'/../'); + $this->app = \Friendica\BaseObject::getApp(); $a = $this->app; // Default config