1
0
mirror of synced 2025-02-02 13:31:45 +03:00

Fix incorrect arguments on SetupTest

Which was only caught by adding proper type declaration on private
methods.
This commit is contained in:
Luís Cobucci 2017-11-26 12:25:02 +01:00
parent b7cace86a0
commit d3759a2447
No known key found for this signature in database
GPG Key ID: EC61C5F01750ED3C

View File

@ -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());