Commit fa55d23d authored by Fabian Blechschmidt's avatar Fabian Blechschmidt

fixed a undefined index bug

parent 3ce5d883
...@@ -869,7 +869,7 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test ...@@ -869,7 +869,7 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
$params['_store'] = EcomDev_PHPUnit_Model_App::ADMIN_STORE_CODE; $params['_store'] = EcomDev_PHPUnit_Model_App::ADMIN_STORE_CODE;
} }
if ($params['_store'] === EcomDev_PHPUnit_Model_App::ADMIN_STORE_CODE) { if (isset($params['_store']) && $params['_store'] === EcomDev_PHPUnit_Model_App::ADMIN_STORE_CODE) {
$urlModel = Mage::getModel('adminhtml/url'); $urlModel = Mage::getModel('adminhtml/url');
} else { } else {
$urlModel = Mage::getModel('core/url'); $urlModel = Mage::getModel('core/url');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment