1
0
Fork 0

Move API status tests

This commit is contained in:
Philipp Holzer 2021-12-30 22:02:57 +01:00
commit 2c15fb03ff
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
2 changed files with 26 additions and 29 deletions

View file

@ -638,35 +638,6 @@ class ApiTest extends FixtureTest
);
}
/**
* Test the api_get_entitities() function.
*
* @return void
*/
public function testApiGetEntitities()
{
// $text = 'text';
// self::assertIsArray(api_get_entitities($text, 'bbcode', 0));
}
/**
* Test the api_get_entitities() function with the include_entities parameter.
*
* @return void
*/
public function testApiGetEntititiesWithIncludeEntities()
{
/*
$_REQUEST['include_entities'] = 'true';
$text = 'text';
$result = api_get_entitities($text, 'bbcode', 0);
self::assertIsArray($result['hashtags']);
self::assertIsArray($result['symbols']);
self::assertIsArray($result['urls']);
self::assertIsArray($result['user_mentions']);
*/
}
/**
* Test the api_format_items_embeded_images() function.
*