# should urlencode to %23
This commit is contained in:
parent
9c90cf7caf
commit
ecb28f6e94
|
@ -1411,7 +1411,7 @@ class ApiTest extends DatabaseTest
|
||||||
*/
|
*/
|
||||||
public function testApiSearchWithHashtag()
|
public function testApiSearchWithHashtag()
|
||||||
{
|
{
|
||||||
$_REQUEST['q'] = '#friendica';
|
$_REQUEST['q'] = '%23friendica';
|
||||||
$result = api_search('json');
|
$result = api_search('json');
|
||||||
foreach ($result['status'] as $status) {
|
foreach ($result['status'] as $status) {
|
||||||
$this->assertStatus($status);
|
$this->assertStatus($status);
|
||||||
|
|
Loading…
Reference in a new issue