Move another API status tests
This commit is contained in:
parent
2e221943d4
commit
29dbfb58c7
2 changed files with 24 additions and 32 deletions
|
|
@ -535,8 +535,6 @@ class ApiTest extends FixtureTest
|
|||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Test the api_format_items_embeded_images() function.
|
||||
*
|
||||
|
|
@ -552,36 +550,6 @@ class ApiTest extends FixtureTest
|
|||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the api_format_items() function.
|
||||
* @doesNotPerformAssertions
|
||||
*/
|
||||
public function testApiFormatItems()
|
||||
{
|
||||
/*
|
||||
$items = Post::selectToArray([], ['uid' => 42]);
|
||||
foreach ($items as $item) {
|
||||
$status = api_format_item($item);
|
||||
self::assertStatus($status);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the api_format_items() function with an XML result.
|
||||
* @doesNotPerformAssertions
|
||||
*/
|
||||
public function testApiFormatItemsWithXml()
|
||||
{
|
||||
/*
|
||||
$items = Post::selectToArray([], ['uid' => 42]);
|
||||
foreach ($items as $item) {
|
||||
$status = api_format_item($item, 'xml');
|
||||
self::assertStatus($status);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the api_lists_list() function.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue