Move debug

This commit is contained in:
Hypolite Petovan 2018-07-03 23:20:33 -04:00
parent 8ad41d4f15
commit 3e9ff5ef6e
2 changed files with 2 additions and 2 deletions

View file

@ -3393,6 +3393,8 @@ class ApiTest extends DatabaseTest
*/
public function testApiGetNick()
{
var_dump(dba::inArray(\dba::select('contact')));
$result = api_get_nick($this->otherUser['nurl']);
$this->assertEquals('othercontact', $result);
}

View file

@ -93,8 +93,6 @@ abstract class DatabaseTest extends TestCase
DBStructure::update(false, true, true);
$app->mode = \Friendica\App::MODE_NORMAL;
var_dump(dba::inArray(\dba::select('contact')));
} else {
$this->markTestSkipped('Could not connect to the database. Please check the MYSQL_* environment variables.');
}