protected function tearDown() { parent::tearDown(); // unregister observer Mage::unregister('_singleton/fpc/observer'); Mage::getSingleton('customer/session')->setData(Lesti_Fpc_Helper_Block::LAZY_BLOCKS_VALID_SESSION_PARAM, false); }
protected function setUp() { parent::setUp(); $this->_helper = Mage::helper('fpc'); }
protected function setUp() { parent::setUp(); $this->_messagesHelper = Mage::helper('fpc/block_messages'); }
protected function setUp() { parent::setUp(); $this->_fpc = Mage::getSingleton('fpc/fpc'); }
protected function setUp() { parent::setUp(); $this->_blockHelper = Mage::helper('fpc/block'); }
protected function setUp() { parent::setUp(); $this->_messagesBlock = Mage::app()->getLayout()->createBlock('core/messages'); }
protected function tearDown() { parent::tearDown(); Mage::unregister('current_product'); }
protected function tearDown() { parent::tearDown(); Mage::unregister('_singleton/fpc/observer_clean'); }