Commit dd395703 authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

# Fix for website configuration scope values loading

parent 930217ce
...@@ -354,8 +354,10 @@ class EcomDev_PHPUnit_Model_Fixture ...@@ -354,8 +354,10 @@ class EcomDev_PHPUnit_Model_Fixture
case 'websites': case 'websites':
$websiteCode = array_shift($pathArray); $websiteCode = array_shift($pathArray);
$website = Mage::app()->getWebsite($websiteCode); $website = Mage::app()->getWebsite($websiteCode);
$website->setConfig(implode('/', $pathArray), $value); EcomDev_Utils_Reflection::setRestrictedPropertyValue(
break; $website, '_configCache', array()
);
default: default:
Mage::getConfig()->setNode($path, $value); Mage::getConfig()->setNode($path, $value);
......
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