X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2Flegacy%2FApiTest.php;h=3bf14a31bc88cfb3f4e3a7d3d7dc8a8644269004;hb=829c43ba3b29af74bf4cf23f30cc80b9f71b7c64;hp=0c1af085ca3ad57826332b869b78515b49a83a32;hpb=6725f05ab203ea6a1425f7b023dc61b017da1ee2;p=friendica.git diff --git a/tests/legacy/ApiTest.php b/tests/legacy/ApiTest.php index 0c1af085ca..3bf14a31bc 100644 --- a/tests/legacy/ApiTest.php +++ b/tests/legacy/ApiTest.php @@ -2541,56 +2541,6 @@ class ApiTest extends FixtureTest } } - /** - * Test the api_format_items() function. - * - * @return void - */ - public function testApiAccountRateLimitStatus() - { - // @todo How to test the new API? - // $result = api_account_rate_limit_status('json'); - // self::assertEquals(150, $result['hash']['remaining_hits']); - // self::assertEquals(150, $result['hash']['hourly_limit']); - // self::assertIsInt($result['hash']['reset_time_in_seconds']); - } - - /** - * Test the api_format_items() function with an XML result. - * - * @return void - */ - public function testApiAccountRateLimitStatusWithXml() - { - // @todo How to test the new API? - // $result = api_account_rate_limit_status('xml'); - // self::assertXml($result, 'hash'); - } - - /** - * Test the api_help_test() function. - * - * @return void - */ - public function testApiHelpTest() - { - // @todo How to test the new API? - // $result = \Friendica\Module\Api\Friendica\Help\Test::rawcontent(['extension' => 'json']); - // self::assertEquals(['ok' => 'ok'], $result); - } - - /** - * Test the api_help_test() function with an XML result. - * - * @return void - */ - public function testApiHelpTestWithXml() - { - // @todo How to test the new API? - // $result = api_help_test('xml'); - // self::assertXml($result, 'ok'); - } - /** * Test the api_lists_list() function. *