예제 #1
0
 /**
  * @magentoAppIsolation enabled
  * @expectedException Magento_Exception
  * @expectedExceptionMessage Application is not installed yet, please complete the installation first.
  */
 public function testRequireInstalledInstance()
 {
     $this->_model->baseInit(array(Mage_Core_Model_Config::OPTION_LOCAL_CONFIG_EXTRA_DATA => sprintf(Mage_Core_Model_Config::CONFIG_TEMPLATE_INSTALL_DATE, 'invalid')));
     $this->_model->requireInstalledInstance();
 }