From: Pierre Rudloff Date: Wed, 16 May 2018 11:15:28 +0000 (+0200) Subject: Make DatabaseTest::getConnection() return the correct database name to PHPUnit X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e7fceb8e61af1bd7249dec2c180ee74bb1a444f1;p=friendica.git Make DatabaseTest::getConnection() return the correct database name to PHPUnit --- diff --git a/tests/DatabaseTest.php b/tests/DatabaseTest.php index 5a9a563a5d..12150932c9 100644 --- a/tests/DatabaseTest.php +++ b/tests/DatabaseTest.php @@ -48,7 +48,7 @@ abstract class DatabaseTest extends TestCase } } - return $this->createDefaultDBConnection(dba::get_db(), 'friendica_test:'); + return $this->createDefaultDBConnection(dba::get_db(), getenv('DB')); } /**