Rename Friendica\Database\dba to Friendica\Database\DBA

This commit is contained in:
Hypolite Petovan 2018-07-20 08:19:26 -04:00
parent b6a1df0598
commit af6dbc654f
127 changed files with 1169 additions and 1169 deletions

View file

@ -5,7 +5,7 @@
namespace Friendica\Test;
use Friendica\Database\dba;
use Friendica\Database\DBA;
use PHPUnit\DbUnit\DataSet\YamlDataSet;
use PHPUnit\DbUnit\TestCaseTrait;
use PHPUnit\Framework\TestCase;
@ -32,11 +32,11 @@ abstract class DatabaseTest extends TestCase
*/
protected function getConnection()
{
if (!dba::connected()) {
if (!DBA::connected()) {
$this->markTestSkipped('Could not connect to the database.');
}
return $this->createDefaultDBConnection(dba::get_db(), getenv('MYSQL_DATABASE'));
return $this->createDefaultDBConnection(DBA::get_db(), getenv('MYSQL_DATABASE'));
}
/**