for testApiSearchWithExcludeReplies: q parameter is required.
This commit is contained in:
parent
dbd2e4cdf3
commit
061ad380f6
|
@ -1427,6 +1427,7 @@ class ApiTest extends DatabaseTest
|
||||||
{
|
{
|
||||||
$_REQUEST['max_id'] = 10;
|
$_REQUEST['max_id'] = 10;
|
||||||
$_REQUEST['exclude_replies'] = true;
|
$_REQUEST['exclude_replies'] = true;
|
||||||
|
$_REQUEST['q'] = 'friendica';
|
||||||
$result = api_search('json');
|
$result = api_search('json');
|
||||||
foreach ($result['status'] as $status) {
|
foreach ($result['status'] as $status) {
|
||||||
$this->assertStatus($status);
|
$this->assertStatus($status);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user