diff options
Diffstat (limited to 'tests/unit/UnitTestCase.php')
-rw-r--r-- | tests/unit/UnitTestCase.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/UnitTestCase.php b/tests/unit/UnitTestCase.php index 18467d91e..a4ea94b13 100644 --- a/tests/unit/UnitTestCase.php +++ b/tests/unit/UnitTestCase.php @@ -77,14 +77,14 @@ class UnitTestCase extends TestCase { protected function connect_to_test_db() : void { if ( !\DBA::$dba ) { \DBA::dba_factory( - getenv('HZ_TEST_DB_HOST') ?: 'db', + getenv('HZ_TEST_DB_HOST') ?: 'localhost', // Use default port for db type if none specified getenv('HZ_TEST_DB_PORT'), getenv('HZ_TEST_DB_USER') ?: 'test_user', getenv('HZ_TEST_DB_PASS') ?: 'hubzilla', getenv('HZ_TEST_DB_DATABASE') ?: 'hubzilla_test_db', - Self::dbtype(getenv('HZ_TEST_DB_TYPE')), + self::dbtype(getenv('HZ_TEST_DB_TYPE')), getenv('HZ_TEST_DB_CHARSET') ?: 'UTF8', false); |