Make DatabaseTest::getConnection() return the correct database name to PHPUnit

This commit is contained in:
Pierre Rudloff 2018-05-16 13:15:28 +02:00
parent f3ca3b2bd5
commit e7fceb8e61

View 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'));
}
/**