From c54d3ddf18d826dfec9ce26c04227cfdc5b3aab2 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 21 Nov 2021 05:55:16 +0000 Subject: [PATCH] Test return value --- tests/legacy/ApiTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/legacy/ApiTest.php b/tests/legacy/ApiTest.php index cfe748977a..b9768350cd 100644 --- a/tests/legacy/ApiTest.php +++ b/tests/legacy/ApiTest.php @@ -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,