1
1
Fork 0

More test data

This commit is contained in:
Michael 2021-11-21 06:19:35 +00:00
parent 16e69cbffa
commit f385be04dc

View file

@ -10,6 +10,7 @@ use Friendica\Core\Config\Capability\IManageConfigValues;
use Friendica\Core\PConfig\Capability\IManagePersonalConfigValues; use Friendica\Core\PConfig\Capability\IManagePersonalConfigValues;
use Friendica\Core\Protocol; use Friendica\Core\Protocol;
use Friendica\DI; use Friendica\DI;
use Friendica\Model\Item;
use Friendica\Module\Api\ApiResponse; use Friendica\Module\Api\ApiResponse;
use Friendica\Module\BaseApi; use Friendica\Module\BaseApi;
use Friendica\Network\HTTPException; use Friendica\Network\HTTPException;
@ -2238,9 +2239,12 @@ class ApiTest extends FixtureTest
'plink' => '', 'plink' => '',
'uid' => $this->selfUser['id'], 'uid' => $this->selfUser['id'],
'id' => 1, 'id' => 1,
'parent' => 1,
'uri-id' => 1, 'uri-id' => 1,
'created' => '', 'created' => '',
'app' => '', 'app' => '',
'starred' => false,
'private' => Item::PRIVATE,
] ]
]; ];
foreach ($items as $item) { foreach ($items as $item) {
@ -2268,9 +2272,12 @@ class ApiTest extends FixtureTest
'plink' => '', 'plink' => '',
'uid' => $this->selfUser['id'], 'uid' => $this->selfUser['id'],
'id' => 1, 'id' => 1,
'parent' => 1,
'uri-id' => 1, 'uri-id' => 1,
'created' => '', 'created' => '',
'app' => '', 'app' => '',
'starred' => false,
'private' => Item::PRIVATE,
] ]
]; ];