]> git.mxchange.org Git - friendica.git/commitdiff
Cleanup: Remove already deprecated API tests
authorPhilipp <admin@philipp.info>
Thu, 30 Dec 2021 19:23:38 +0000 (20:23 +0100)
committerPhilipp <admin@philipp.info>
Thu, 30 Dec 2021 19:23:38 +0000 (20:23 +0100)
tests/legacy/ApiTest.php

index e7fba6583ed6a3525c6b50c32b2473ae1245b4c4..f42b837e3d8bcaf5b23feafae8a57aa2e767ea8a 100644 (file)
@@ -1189,28 +1189,6 @@ class ApiTest extends FixtureTest
                // self::assertArrayHasKey('user', $result);
        }
 
-
-
-       /**
-        * Test the api_oauth_request_token() function.
-        *
-        * @return void
-        */
-       public function testApiOauthRequestToken()
-       {
-               $this->markTestIncomplete('exit() kills phpunit as well');
-       }
-
-       /**
-        * Test the api_oauth_access_token() function.
-        *
-        * @return void
-        */
-       public function testApiOauthAccessToken()
-       {
-               $this->markTestIncomplete('exit() kills phpunit as well');
-       }
-
        /**
         * Test the api_fr_photos_list() function.
         *
@@ -1423,26 +1401,6 @@ class ApiTest extends FixtureTest
                $this->markTestIncomplete();
        }
 
-       /**
-        * Test the api_share_as_retweet() function with a valid item.
-        *
-        * @return void
-        */
-       public function testApiShareAsRetweetWithValidItem()
-       {
-               $this->markTestIncomplete();
-       }
-
-       /**
-        * Test the api_in_reply_to() function with a valid item.
-        *
-        * @return void
-        */
-       public function testApiInReplyToWithValidItem()
-       {
-               $this->markTestIncomplete();
-       }
-
        /**
         * Test the api_clean_plain_items() function.
         *
@@ -1455,16 +1413,6 @@ class ApiTest extends FixtureTest
                //self::assertEquals('some_text [url="some_url"]"some_url"[/url]', $result);
        }
 
-       /**
-        * Test the api_best_nickname() function with contacts.
-        *
-        * @return void
-        */
-       public function testApiBestNicknameWithContacts()
-       {
-               $this->markTestIncomplete();
-       }
-
        /**
         * Test the api_friendica_group_show() function.
         *
@@ -1475,16 +1423,6 @@ class ApiTest extends FixtureTest
                $this->markTestIncomplete();
        }
 
-       /**
-        * Test the api_friendica_group_delete() function.
-        *
-        * @return void
-        */
-       public function testApiFriendicaGroupDelete()
-       {
-               $this->markTestIncomplete();
-       }
-
        /**
         * Test the api_lists_destroy() function.
         *
@@ -1525,16 +1463,6 @@ class ApiTest extends FixtureTest
                $this->markTestIncomplete();
        }
 
-       /**
-        * Test the api_friendica_group_update() function.
-        *
-        * @return void
-        */
-       public function testApiFriendicaGroupUpdate()
-       {
-               $this->markTestIncomplete();
-       }
-
        /**
         * Test the api_lists_update() function.
         *
@@ -1544,44 +1472,4 @@ class ApiTest extends FixtureTest
        {
                $this->markTestIncomplete();
        }
-
-       /**
-        * Test the api_friendica_activity() function.
-        *
-        * @return void
-        */
-       public function testApiFriendicaActivity()
-       {
-               $this->markTestIncomplete();
-       }
-
-       /**
-        * Test the api_friendica_notification_seen() function.
-        *
-        * @return void
-        */
-       public function testApiFriendicaNotificationSeen()
-       {
-               $this->markTestIncomplete();
-       }
-
-       /**
-        * Test the api_friendica_direct_messages_setseen() function.
-        *
-        * @return void
-        */
-       public function testApiFriendicaDirectMessagesSetseen()
-       {
-               $this->markTestIncomplete();
-       }
-
-       /**
-        * Test the api_friendica_direct_messages_search() function.
-        *
-        * @return void
-        */
-       public function testApiFriendicaDirectMessagesSearch()
-       {
-               $this->markTestIncomplete();
-       }
 }