/** * @magentoAppIsolation enabled */ public function testIsSecure() { $this->assertFalse($this->_model->isSecure()); $this->_model->setSecureIsForced(1); $this->assertTrue(is_bool($this->_model->isSecure())); Mage::app()->getStore()->setId(Mage_Core_Model_App::ADMIN_STORE_ID); $this->assertFalse($this->_model->isSecure()); }