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;
|
$_REQUEST['page'] = -2;
|
||||||
$result = api_statuses_user_timeline('json');
|
$result = api_statuses_user_timeline('json');
|
||||||
self::assertNotEmpty($result['status'], print_r($result['status'], true));
|
self::assertNotEmpty($result['status']);
|
||||||
foreach ($result['status'] as $status) {
|
foreach ($result['status'] as $status) {
|
||||||
self::assertStatus($status);
|
self::assertStatus($status);
|
||||||
}
|
}
|
||||||
|
@ -2238,6 +2238,7 @@ class ApiTest extends FixtureTest
|
||||||
'plink' => '',
|
'plink' => '',
|
||||||
'uid' => $this->selfUser['id'],
|
'uid' => $this->selfUser['id'],
|
||||||
'uri-id' => 1,
|
'uri-id' => 1,
|
||||||
|
'created' => '',
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
foreach ($items as $item) {
|
foreach ($items as $item) {
|
||||||
|
@ -2265,6 +2266,7 @@ class ApiTest extends FixtureTest
|
||||||
'plink' => '',
|
'plink' => '',
|
||||||
'uid' => $this->selfUser['id'],
|
'uid' => $this->selfUser['id'],
|
||||||
'uri-id' => 1,
|
'uri-id' => 1,
|
||||||
|
'created' => '',
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue