mirror of
https://github.com/friendica/friendica
synced 2025-04-22 05:50:13 +00:00
Remove legacy function
This commit is contained in:
parent
85ae12a873
commit
30dfbb95d9
2 changed files with 0 additions and 121 deletions
|
@ -3717,28 +3717,6 @@ class ApiTest extends DatabaseTest
|
|||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the api_get_nick() function.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testApiGetNick()
|
||||
{
|
||||
$result = api_get_nick($this->otherUser['nurl']);
|
||||
$this->assertEquals('othercontact', $result);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the api_get_nick() function with a wrong URL.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testApiGetNickWithWrongUrl()
|
||||
{
|
||||
$result = api_get_nick('wrong_url');
|
||||
$this->assertFalse($result);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the api_in_reply_to() function.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue