for testApiSearchWithExcludeReplies: q parameter is required.

This commit is contained in:
root 2018-12-22 05:45:23 +00:00 committed by Hypolite Petovan
parent dbd2e4cdf3
commit 061ad380f6

View File

@ -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);