Commit 3852c97c authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

Merge branch 'dev' of github.com:IvanChepurnyi/EcomDev_PHPUnit into dev

parents f53d0b08 2b63671c
...@@ -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