Bleh
This commit is contained in:
parent
3e9ff5ef6e
commit
675333f246
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue