More test data
This commit is contained in:
parent
16e69cbffa
commit
f385be04dc
1 changed files with 7 additions and 0 deletions
|
@ -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,
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue