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

index 34ca7ddf0cba51a64b9aded27d2a9d8f23dbaf00..9575a8af0c75798b541bd721198598dcdc1eadd5 100644 (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);
        }
index df681acbf4fdd13450cb97eba708a00653397823..e79e9237be9d3a9ce0f1031290cc96cdd23d89e5 100644 (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.');
                        }