From f385be04dc746096a3877860dd2e30c8d3720d53 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 21 Nov 2021 06:19:35 +0000 Subject: [PATCH] More test data --- tests/legacy/ApiTest.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/legacy/ApiTest.php b/tests/legacy/ApiTest.php index 37988707f..d6097ec02 100644 --- a/tests/legacy/ApiTest.php +++ b/tests/legacy/ApiTest.php @@ -10,6 +10,7 @@ use Friendica\Core\Config\Capability\IManageConfigValues; use Friendica\Core\PConfig\Capability\IManagePersonalConfigValues; use Friendica\Core\Protocol; use Friendica\DI; +use Friendica\Model\Item; use Friendica\Module\Api\ApiResponse; use Friendica\Module\BaseApi; use Friendica\Network\HTTPException; @@ -2238,9 +2239,12 @@ class ApiTest extends FixtureTest 'plink' => '', 'uid' => $this->selfUser['id'], 'id' => 1, + 'parent' => 1, 'uri-id' => 1, 'created' => '', 'app' => '', + 'starred' => false, + 'private' => Item::PRIVATE, ] ]; foreach ($items as $item) { @@ -2268,9 +2272,12 @@ class ApiTest extends FixtureTest 'plink' => '', 'uid' => $this->selfUser['id'], 'id' => 1, + 'parent' => 1, 'uri-id' => 1, 'created' => '', 'app' => '', + 'starred' => false, + 'private' => Item::PRIVATE, ] ];