Rename DBA::get_db to DBA::getConnection

- Rename DBA::$db to DBA::$connection
This commit is contained in:
Hypolite Petovan 2018-07-20 22:11:11 -04:00
commit cdd8e4fd9d
2 changed files with 51 additions and 51 deletions

View file

@ -36,7 +36,7 @@ abstract class DatabaseTest extends TestCase
$this->markTestSkipped('Could not connect to the database.');
}
return $this->createDefaultDBConnection(DBA::get_db(), getenv('MYSQL_DATABASE'));
return $this->createDefaultDBConnection(DBA::getConnection(), getenv('MYSQL_DATABASE'));
}
/**