Example #1
0
 /**
  * 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;
 }
Example #2
0
 protected function tearDown()
 {
     //        if ($this->_isLogged) {
     //            $this->deleteAllCardonfiles();
     //        }
     parent::tearDown();
 }
Example #3
0
 public function setUp()
 {
     $this->_installmentActive = false;
     $this->_additionalSaveSettings['payment/mundipagg_boleto/active'] = '1';
     parent::setUp();
 }