Move debug
This commit is contained in:
@@ -3393,6 +3393,8 @@ class ApiTest extends DatabaseTest
|
|||||||
*/
|
*/
|
||||||
public function testApiGetNick()
|
public function testApiGetNick()
|
||||||
{
|
{
|
||||||
|
var_dump(dba::inArray(\dba::select('contact')));
|
||||||
|
|
||||||
$result = api_get_nick($this->otherUser['nurl']);
|
$result = api_get_nick($this->otherUser['nurl']);
|
||||||
$this->assertEquals('othercontact', $result);
|
$this->assertEquals('othercontact', $result);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -93,8 +93,6 @@ 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.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user