# 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 210dc4e..09ca952 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);