]> git.mxchange.org Git - friendica.git/commitdiff
for testApiSearchWithExcludeReplies: q parameter is required.
authorroot <17hado.com@gmail.com>
Sat, 22 Dec 2018 05:45:23 +0000 (05:45 +0000)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 21 Jan 2019 14:13:10 +0000 (09:13 -0500)
tests/include/ApiTest.php

index 19b82bf84b6c66c14f437a62944de99a5aa348e8..ede84a0eb957227229ad0b156f26df8146a54ca1 100644 (file)
@@ -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);