From ecb28f6e94421ecd8ff49d82ff38f64371f4adb0 Mon Sep 17 00:00:00 2001 From: root <17hado.com@gmail.com> Date: Mon, 17 Dec 2018 14:52:04 +0000 Subject: [PATCH] # should urlencode to %23 --- tests/include/ApiTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/include/ApiTest.php b/tests/include/ApiTest.php index 210dc4e744..09ca95200a 100644 --- a/tests/include/ApiTest.php +++ b/tests/include/ApiTest.php @@ -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); -- 2.39.5