From 061ad380f6aecbb09189538567605dce1dc2a70b Mon Sep 17 00:00:00 2001 From: root <17hado.com@gmail.com> Date: Sat, 22 Dec 2018 05:45:23 +0000 Subject: [PATCH] for testApiSearchWithExcludeReplies: q parameter is required. --- tests/include/ApiTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/include/ApiTest.php b/tests/include/ApiTest.php index 19b82bf84b..ede84a0eb9 100644 --- a/tests/include/ApiTest.php +++ b/tests/include/ApiTest.php @@ -1427,6 +1427,7 @@ class ApiTest extends DatabaseTest { $_REQUEST['max_id'] = 10; $_REQUEST['exclude_replies'] = true; + $_REQUEST['q'] = 'friendica'; $result = api_search('json'); foreach ($result['status'] as $status) { $this->assertStatus($status); -- 2.39.5