Test return value

This commit is contained in:
Michael 2021-11-21 05:55:16 +00:00
parent 1acaa61446
commit c54d3ddf18

View file

@ -1770,7 +1770,7 @@ class ApiTest extends FixtureTest
{
$_REQUEST['page'] = -2;
$result = api_statuses_user_timeline('json');
self::assertNotEmpty($result['status']);
self::assertNotEmpty($result['status'], print_r($result['status'], true));
foreach ($result['status'] as $status) {
self::assertStatus($status);
}
@ -2228,6 +2228,7 @@ class ApiTest extends FixtureTest
'item_network' => 'item_network',
'source' => 'web',
'coord' => '5 7',
'title' => '',
'body' => '',
'verb' => '',
'author-id' => 43,
@ -2254,6 +2255,7 @@ class ApiTest extends FixtureTest
$items = [
[
'coord' => '5 7',
'title' => '',
'body' => '',
'verb' => '',
'author-id' => 43,