]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Core/Lock/LockTest.php
Instantiate the App in test bootstrap
[friendica.git] / tests / src / Core / Lock / LockTest.php
index dafbd74a6ff19d1bc1371f6d9cf42ee76b19e19f..5e4bebd45cdfc8d04fede2b3ccf3b18057db1a02 100644 (file)
@@ -23,7 +23,7 @@ abstract class LockTest extends DatabaseTest
                $this->instance = $this->getInstance();
 
                // Reusable App object
-               $this->app = new App(__DIR__.'/../');
+               $this->app = \Friendica\BaseObject::getApp();
                $a = $this->app;
 
                // Default config