]> git.mxchange.org Git - friendica.git/blobdiff - tests/DatabaseTest.php
Fixes: (#5447)
[friendica.git] / tests / DatabaseTest.php
index 9f0990a72d5e0e420a3f97c93d67ba4df9977a71..eb9399ab808a76f5c0b6366f3c2c0b71057bb2b4 100644 (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'));
        }
 
        /**