]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Core/Lock/LockTest.php
Replace global $a with BaseObject::getApp()
[friendica.git] / tests / src / Core / Lock / LockTest.php
index 5e4bebd45cdfc8d04fede2b3ccf3b18057db1a02..79ee023bd8b98b88e5208828c6d7d7d53f2bd0f5 100644 (file)
@@ -2,10 +2,8 @@
 
 namespace Friendica\Test\src\Core\Lock;
 
-use Friendica\App;
 use Friendica\Core\Config;
 use Friendica\Test\DatabaseTest;
-use PHPUnit\Framework\TestCase;
 
 abstract class LockTest extends DatabaseTest
 {
@@ -18,13 +16,11 @@ abstract class LockTest extends DatabaseTest
 
        protected function setUp()
        {
-               global $a;
                parent::setUp();
                $this->instance = $this->getInstance();
 
                // Reusable App object
                $this->app = \Friendica\BaseObject::getApp();
-               $a = $this->app;
 
                // Default config
                Config::set('config', 'hostname', 'localhost');