From d3759a2447dd9eb2322a524cf36592099a668ff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Cobucci?= Date: Sun, 26 Nov 2017 12:25:02 +0100 Subject: [PATCH] Fix incorrect arguments on SetupTest Which was only caught by adding proper type declaration on private methods. --- tests/Doctrine/Tests/ORM/Tools/SetupTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());