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
1 changed files with 1 additions and 1 deletions

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