]> git.mxchange.org Git - friendica.git/blobdiff - tests/include/ApiTest.php
Remove legacy function
[friendica.git] / tests / include / ApiTest.php
index fc797ec3f0b0de1b65905bac45fbbdb0e2c48240..3d6bdc0c16816c8adb8fd862441e3bb36678e385 100644 (file)
@@ -3717,28 +3717,6 @@ class ApiTest extends DatabaseTest
                $this->markTestIncomplete();
        }
 
-       /**
-        * Test the api_get_nick() function.
-        *
-        * @return void
-        */
-       public function testApiGetNick()
-       {
-               $result = api_get_nick($this->otherUser['nurl']);
-               $this->assertEquals('othercontact', $result);
-       }
-
-       /**
-        * Test the api_get_nick() function with a wrong URL.
-        *
-        * @return void
-        */
-       public function testApiGetNickWithWrongUrl()
-       {
-               $result = api_get_nick('wrong_url');
-               $this->assertFalse($result);
-       }
-
        /**
         * Test the api_in_reply_to() function.
         *