]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/BaseObjectTest.php
Adding possibility to use a different cache-backend for locking and caching
[friendica.git] / tests / src / BaseObjectTest.php
index 749ae77c2a2554416600e24a485c3c7b73ef50ec..6935214527ef2a3b40a0a17656a17c1e12cba77b 100644 (file)
@@ -23,20 +23,6 @@ class BaseObjectTest extends TestCase
         */
        private $baseObject;
 
-       /**
-        * Test the setApp() and getApp() function.
-        * @return void
-        */
-       public function testGetSetApp()
-       {
-               $baseObject = new BaseObject();
-               $this->setUpVfsDir();
-               $this->mockApp($this->root);
-
-               $this->assertNull($baseObject->setApp($this->app));
-               $this->assertEquals($this->app, $baseObject->getApp());
-       }
-
        /**
         * Test the getApp() function without App
         * @expectedException Friendica\Network\HTTPException\InternalServerErrorException
@@ -45,7 +31,6 @@ class BaseObjectTest extends TestCase
         */
        public function testGetAppFailed()
        {
-               $baseObject = new BaseObject();
-               $baseObject->getApp();
+               BaseObject::getApp();
        }
 }