diff --git a/test/ConfigurationTest.php b/test/ConfigurationTest.php index 74f96c03..ff10f5bd 100644 --- a/test/ConfigurationTest.php +++ b/test/ConfigurationTest.php @@ -34,11 +34,11 @@ public function testConfigurationCanConfigureInstanceManagerWithIniFile() $this->assertContains('my-dbAdapter', $im->getTypePreferences('my-mapper')); $this->assertTrue($im->hasConfiguration('My\DbAdapter')); - $expected = array('parameters' => array('username' => 'readonly', 'password' => 'mypassword'), 'injections' => array()); + $expected = array('parameters' => array('username' => 'readonly', 'password' => 'mypassword'), 'injections' => array(), 'shared' => array()); $this->assertEquals($expected, $im->getConfiguration('My\DbAdapter')); $this->assertTrue($im->hasConfiguration('my-dbAdapter')); - $expected = array('parameters' => array('username' => 'readwrite'), 'injections' => array()); + $expected = array('parameters' => array('username' => 'readwrite'), 'injections' => array(), 'shared' => array()); $this->assertEquals($expected, $im->getConfiguration('my-dbAdapter')); } diff --git a/test/InstanceManagerTest.php b/test/InstanceManagerTest.php index 8a0092dc..03f7719e 100644 --- a/test/InstanceManagerTest.php +++ b/test/InstanceManagerTest.php @@ -71,6 +71,7 @@ public function testInstanceManagerResolvesRecursiveAliasesForConfiguration() $im->setConfiguration('bar-alias', $config); $config['injections'] = array(); + $config['shared'] = array(); $this->assertEquals($config, $im->getConfiguration('foo-alias')); }