public function testGetOldValue() { $this->_model->setPath(self::SAMPLE_CONFIG_PATH); $this->assertEquals(self::SAMPLE_VALUE, $this->_model->getOldValue()); $this->_model->setWebsiteCode('base'); $this->assertEquals(self::SAMPLE_VALUE, $this->_model->getOldValue()); $this->_model->setStoreCode('default'); $this->assertEquals(self::SAMPLE_VALUE, $this->_model->getOldValue()); }
/** * Get & decrypt old value from configuration * * @return string */ public function getOldValue() { return Mage::helper('core')->decrypt(parent::getOldValue()); }
/** * Get & decrypt old value from configuration * * @return string */ public function getOldValue() { return Mage::helper('Mage_Core_Helper_Data')->decrypt(parent::getOldValue()); }