1
1
Fork 0
This commit is contained in:
Hypolite Petovan 2018-07-03 23:27:12 -04:00
parent 3e9ff5ef6e
commit 675333f246

View file

@ -12,6 +12,8 @@ use Friendica\Network\BadRequestException;
use Friendica\Network\HTTPException; use Friendica\Network\HTTPException;
use Friendica\Render\FriendicaSmarty; use Friendica\Render\FriendicaSmarty;
require_once 'include/dba.php';
/** /**
* Tests for the API functions. * Tests for the API functions.
* *
@ -3393,7 +3395,7 @@ class ApiTest extends DatabaseTest
*/ */
public function testApiGetNick() public function testApiGetNick()
{ {
var_dump(dba::inArray(\dba::select('contact'))); var_dump(\dba::inArray(\dba::select('contact')));
$result = api_get_nick($this->otherUser['nurl']); $result = api_get_nick($this->otherUser['nurl']);
$this->assertEquals('othercontact', $result); $this->assertEquals('othercontact', $result);