1
0
mirror of https://github.com/flarum/core.git synced 2025-10-17 09:46:14 +02:00

DatabaseConfig: Implement Arrayable contract

This commit is contained in:
Franz Liedke
2019-02-01 13:00:07 +01:00
parent af185fd3d1
commit 968152b740
5 changed files with 9 additions and 7 deletions

View File

@@ -52,7 +52,7 @@ class DefaultInstallationTest extends TestCase
{
$factory = new ConnectionFactory(app());
return $factory->make($this->getDatabaseConfiguration()->getConfig());
return $factory->make($this->getDatabaseConfiguration()->toArray());
}
private function getAdmin(): AdminUser