From 14e7f12aa4243f767677ee716d77699f1de61434 Mon Sep 17 00:00:00 2001 From: Philipp Date: Thu, 30 Dec 2021 22:39:03 +0100 Subject: [PATCH] Remove deprecated tests --- tests/legacy/ApiTest.php | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/tests/legacy/ApiTest.php b/tests/legacy/ApiTest.php index 18989b2eb..7d08b6ec9 100644 --- a/tests/legacy/ApiTest.php +++ b/tests/legacy/ApiTest.php @@ -454,8 +454,6 @@ class ApiTest extends FixtureTest ); } - - /** * Test the Arrays::walkRecursive() function. * @@ -496,21 +494,6 @@ class ApiTest extends FixtureTest ); } - /** - * Test the api_format_items_embeded_images() function. - * - * @return void - */ - public function testApiFormatItemsEmbededImages() - { - /* - self::assertEquals( - 'text ' . DI::baseUrl() . '/display/item_guid', - api_format_items_embeded_images(['guid' => 'item_guid'], 'text data:image/foo') - ); - */ - } - /** * Test the api_lists_list() function. * @@ -548,17 +531,6 @@ class ApiTest extends FixtureTest api_lists_ownerships('json'); } - /** - * Test the api_statuses_f() function. - * - * @return void - */ - public function testApiStatusesFWithIncoming() - { - // $result = api_statuses_f('incoming'); - // self::assertArrayHasKey('user', $result); - } - /** * Test the api_fr_photos_list() function. * @@ -771,18 +743,6 @@ class ApiTest extends FixtureTest $this->markTestIncomplete(); } - /** - * Test the api_clean_plain_items() function. - * - * @return void - */ - public function testApiCleanPlainItems() - { - //$_REQUEST['include_entities'] = 'true'; - //$result = api_clean_plain_items('some_text [url="some_url"]some_text[/url]'); - //self::assertEquals('some_text [url="some_url"]"some_url"[/url]', $result); - } - /** * Test the api_friendica_group_show() function. *