]> git.mxchange.org Git - friendica.git/commitdiff
Remove deprecated tests
authorPhilipp <admin@philipp.info>
Thu, 30 Dec 2021 21:39:03 +0000 (22:39 +0100)
committerPhilipp <admin@philipp.info>
Thu, 30 Dec 2021 21:39:03 +0000 (22:39 +0100)
tests/legacy/ApiTest.php

index 18989b2eb6dea26e837404150c2d5eee579ee3ff..7d08b6ec99c73653dd29171ca39ee922ef7fe7e4 100644 (file)
@@ -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.
         *