Example #1
0
 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);
 }
Example #2
0
 protected function setUp()
 {
     parent::setUp();
     $this->_helper = Mage::helper('fpc');
 }
Example #3
0
 protected function setUp()
 {
     parent::setUp();
     $this->_messagesHelper = Mage::helper('fpc/block_messages');
 }
Example #4
0
 protected function setUp()
 {
     parent::setUp();
     $this->_fpc = Mage::getSingleton('fpc/fpc');
 }
Example #5
0
 protected function setUp()
 {
     parent::setUp();
     $this->_blockHelper = Mage::helper('fpc/block');
 }
Example #6
0
 protected function setUp()
 {
     parent::setUp();
     $this->_messagesBlock = Mage::app()->getLayout()->createBlock('core/messages');
 }
Example #7
0
 protected function tearDown()
 {
     parent::tearDown();
     Mage::unregister('current_product');
 }
Example #8
0
 protected function tearDown()
 {
     parent::tearDown();
     Mage::unregister('_singleton/fpc/observer_clean');
 }