/** * Sets up the fixture, for example, open a network connection. * This method is called before a test is executed. * * @access protected */ protected function setUp() { Zend_Controller_Front::getInstance()->resetInstance(); $this->request = new Zend_Controller_Request_HttpTestCase(); $this->plugin = new Zend_Controller_Plugin_PutHandler(); $this->plugin->setRequest($this->request); }
/** * Sets up the fixture, for example, open a network connection. * This method is called before a test is executed. * * @access protected */ protected function setUp() { \Zend\Controller\Front::getInstance()->resetInstance(); $this->request = new \Zend\Controller\Request\HttpTestCase(); $this->plugin = new \Zend\Controller\Plugin\PutHandler(); $this->plugin->setRequest($this->request); }