$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.
*