From 3e9ff5ef6e77481b76488ffa360c0f5cbfa86285 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 3 Jul 2018 23:20:33 -0400 Subject: [PATCH] Move debug --- tests/ApiTest.php | 2 ++ tests/DatabaseTest.php | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) 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.'); } -- 2.39.5