]> git.mxchange.org Git - friendica.git/blobdiff - tests/ApiTest.php
Removing debugging echo
[friendica.git] / tests / ApiTest.php
index 941ed96bf8b6078ea00443c4138e83ed9f7984d1..cbc6f7e0b4412a0e196e78259bd2c2d56cb5d8a8 100644 (file)
@@ -24,12 +24,11 @@ class ApiTest extends DatabaseTest
        /**
         * Create variables used by tests.
         */
-       protected function setUp()
+       public function setUp()
        {
                parent::setUp();
 
-               // Reusable App object
-               $this->app = BaseObject::getApp();
+               require_once __DIR__.'/../include/api.php';
 
                // User data that the test database is populated with
                $this->selfUser = [