Browse Source

Move debug

pull/5314/head
Hypolite Petovan 3 years ago
parent
commit
3e9ff5ef6e
2 changed files with 2 additions and 2 deletions
  1. +2
    -0
      tests/ApiTest.php
  2. +0
    -2
      tests/DatabaseTest.php

+ 2
- 0
tests/ApiTest.php 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);
}


+ 0
- 2
tests/DatabaseTest.php 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.');
}


Loading…
Cancel
Save