]> git.mxchange.org Git - friendica.git/blobdiff - tests/ApiTest.php
Merge pull request #5862 from nupplaphil/rename_App_Methods
[friendica.git] / tests / ApiTest.php
index cbc6f7e0b4412a0e196e78259bd2c2d56cb5d8a8..11c61f9fbb40a46990838ddbd6534d58ad4e1b6b 100644 (file)
@@ -75,9 +75,8 @@ class ApiTest extends DatabaseTest
        {
                parent::tearDown();
 
-               $app = get_app();
-               $app->argc = 1;
-               $app->argv = ['home'];
+               $this->app->argc = 1;
+               $this->app->argv = ['home'];
        }
 
        /**