Fix incorrect arguments on SetupTest
Which was only caught by adding proper type declaration on private methods.
This commit is contained in:
parent
b7cace86a0
commit
d3759a2447
@ -104,7 +104,7 @@ class SetupTest extends OrmTestCase
|
|||||||
public function testConfigureCacheCustomInstance()
|
public function testConfigureCacheCustomInstance()
|
||||||
{
|
{
|
||||||
$cache = $this->createMock(Cache::class);
|
$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->getResultCacheImpl());
|
||||||
$this->assertSame($cache, $config->getMetadataCacheImpl());
|
$this->assertSame($cache, $config->getMetadataCacheImpl());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user