/** * Disable all Magento caches * * @return boolean */ public function disableCaches() { if (self::$_disableCaches) { return false; } /** @var $model Mage_Core_Model_Cache */ $model = Mage::getModel('core/cache'); $options = $model->canUse(); foreach ($options as $option => $value) { $options[$option] = 0; } $model->saveOptions($option); self::$_disableCaches = true; }
protected function tearDown() { // if ($this->_isLogged) { // $this->deleteAllCardonfiles(); // } parent::tearDown(); }
public function setUp() { $this->_installmentActive = false; $this->_additionalSaveSettings['payment/mundipagg_boleto/active'] = '1'; parent::setUp(); }