/** * Constructor * * @param string $ext_root_path * @param string $php_ext * @param \phpbb\titania\config\config $ext_config */ public function __construct($ext_root_path, $php_ext, \phpbb\titania\config\config $ext_config) { parent::__construct($ext_root_path, $php_ext); $this->ext_config = $ext_config; }
public function testErrorMultipleExensions() { try { $config = new Zend_Config_Ini($this->_iniFileMultipleInheritanceConfig, 'three'); zend::dump($config); $this->fail('An expected Zend_Config_Exception has not been raised'); } catch (Zend_Config_Exception $expected) { $this->assertContains('may not extend multiple sections', $expected->getMessage()); } }
public function testErrorMultipleExensions() { $this->setExpectedException('Zend\Config\Exception\RuntimeException', 'may not extend multiple sections'); $config = new Ini($this->_iniFileMultipleInheritanceConfig, 'three'); zend::dump($config); }