]> git.mxchange.org Git - friendica.git/commitdiff
# should urlencode to %23
authorroot <17hado.com@gmail.com>
Mon, 17 Dec 2018 14:52:04 +0000 (14:52 +0000)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 21 Jan 2019 14:12:36 +0000 (09:12 -0500)
tests/include/ApiTest.php

index 210dc4e7443a36c8e0fe506066575b54b7ce790e..09ca95200a28f5a429be75d4157acafd6a694957 100644 (file)
@@ -1411,7 +1411,7 @@ class ApiTest extends DatabaseTest
         */
        public function testApiSearchWithHashtag()
        {
-               $_REQUEST['q'] = '#friendica';
+               $_REQUEST['q'] = '%23friendica';
                $result = api_search('json');
                foreach ($result['status'] as $status) {
                        $this->assertStatus($status);