]> git.mxchange.org Git - friendica.git/commitdiff
Make DatabaseTest::getConnection() return the correct database name to PHPUnit
authorPierre Rudloff <contact@rudloff.pro>
Wed, 16 May 2018 11:15:28 +0000 (13:15 +0200)
committerPierre Rudloff <contact@rudloff.pro>
Wed, 16 May 2018 11:15:28 +0000 (13:15 +0200)
tests/DatabaseTest.php

index 5a9a563a5da2d05b753257e4a2ff4769fc9160f4..12150932c9dba2a6da019514d2284da17f53f010 100644 (file)
@@ -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'));
        }
 
        /**