diff --git a/tests/Doctrine/Tests/ORM/Tools/SetupTest.php b/tests/Doctrine/Tests/ORM/Tools/SetupTest.php index c44cb6bcf..fc5bd6e71 100644 --- a/tests/Doctrine/Tests/ORM/Tools/SetupTest.php +++ b/tests/Doctrine/Tests/ORM/Tools/SetupTest.php @@ -104,7 +104,7 @@ class SetupTest extends OrmTestCase public function testConfigureCacheCustomInstance() { $cache = $this->createMock(Cache::class); - $config = Setup::createConfiguration([], true, $cache); + $config = Setup::createConfiguration(true, null, $cache); $this->assertSame($cache, $config->getResultCacheImpl()); $this->assertSame($cache, $config->getMetadataCacheImpl());