mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:10:11 +00:00
#6275 - q support hashtag search
This commit is contained in:
parent
939364f9a0
commit
8de263df8b
3 changed files with 18 additions and 34 deletions
|
@ -1390,20 +1390,6 @@ class ApiTest extends DatabaseTest
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the api_search() function with friendica_tag
|
||||
* @return void
|
||||
*/
|
||||
public function testApiSearchWithFriendicaTag()
|
||||
{
|
||||
$_REQUEST['friendica_tag'] = 'friendica';
|
||||
$result = api_search('json');
|
||||
foreach ($result['status'] as $status) {
|
||||
$this->assertStatus($status);
|
||||
$this->assertContains('#friendica', $status['text'], null, true);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the api_search() function with an rpp parameter.
|
||||
* @return void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue