Add debug to database test

This commit is contained in:
Hypolite Petovan 2018-07-03 23:14:03 -04:00
parent b256f5cf2c
commit 8ad41d4f15
1 changed files with 2 additions and 0 deletions

View File

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