From 52a3563de462e09626d9c67caf932b88802c4319 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 21 Nov 2021 06:10:19 +0000 Subject: [PATCH] Added test data --- 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 b9768350cd..f6e38dc08c 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'], print_r($result['status'], true)); + self::assertNotEmpty($result['status']); foreach ($result['status'] as $status) { self::assertStatus($status); } @@ -2238,6 +2238,7 @@ class ApiTest extends FixtureTest 'plink' => '', 'uid' => $this->selfUser['id'], 'uri-id' => 1, + 'created' => '', ] ]; foreach ($items as $item) { @@ -2265,6 +2266,7 @@ class ApiTest extends FixtureTest 'plink' => '', 'uid' => $this->selfUser['id'], 'uri-id' => 1, + 'created' => '', ] ];