From: Hypolite Petovan Date: Wed, 4 Jul 2018 03:20:33 +0000 (-0400) Subject: Move debug X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3e9ff5ef6e77481b76488ffa360c0f5cbfa86285;p=friendica.git Move debug --- diff --git a/tests/ApiTest.php b/tests/ApiTest.php index 34ca7ddf0c..9575a8af0c 100644 --- a/tests/ApiTest.php +++ b/tests/ApiTest.php @@ -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); } diff --git a/tests/DatabaseTest.php b/tests/DatabaseTest.php index df681acbf4..e79e9237be 100644 --- a/tests/DatabaseTest.php +++ b/tests/DatabaseTest.php @@ -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.'); }