mirror of
https://github.com/friendica/friendica
synced 2024-11-18 02:23:40 +00:00
Added test data
This commit is contained in:
parent
c54d3ddf18
commit
52a3563de4
1 changed files with 3 additions and 1 deletions
|
@ -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' => '',
|
||||
]
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue