Remove deprecated tests

This commit is contained in:
Philipp Holzer 2021-12-30 22:39:03 +01:00
parent 9d8a420391
commit 14e7f12aa4
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432

View 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.
*