public function setUp() { parent::setUp(); // doctype fix (someone forgot to clean up after their unit tests) $this->_doctypeHelper = $this->_helper->view->doctype(); $this->_oldDoctype = $this->_doctypeHelper->getDoctype(); $this->_doctypeHelper->setDoctype(Zend_View_Helper_Doctype::HTML4_LOOSE); // disable all active pages foreach ($this->_helper->findAllByActive(true) as $page) { $page->active = false; } }