]> git.mxchange.org Git - friendica.git/commitdiff
Bleh
authorHypolite Petovan <mrpetovan@gmail.com>
Wed, 4 Jul 2018 03:27:12 +0000 (23:27 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Wed, 4 Jul 2018 03:27:12 +0000 (23:27 -0400)
tests/ApiTest.php

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