Esempio n. 1
0
 /**
  * @magentoAppIsolation enabled
  */
 public function testGetSecure()
 {
     $this->assertFalse($this->_model->getSecure());
     $this->_model->setSecureIsForced(1);
     $this->assertTrue(is_bool($this->_model->getSecure()));
     Mage::app()->getStore()->setId(Mage_Core_Model_App::ADMIN_STORE_ID);
     $this->assertFalse($this->_model->getSecure());
 }