Explorar el Código

ZF-8809: Fix issue in Zend_Controller_Action tests

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20259 44c647ce-9c0f-0410-b52a-842ac1e357ba
matthew hace 16 años
padre
commit
9667b233fb
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      tests/Zend/Controller/ActionTest.php

+ 3 - 1
tests/Zend/Controller/ActionTest.php

@@ -70,7 +70,9 @@ class Zend_Controller_ActionTest extends PHPUnit_Framework_TestCase
                 'bar' => 'baz'
             )
         );
-        Zend_Controller_Front::getInstance()->resetInstance();
+        $front = Zend_Controller_Front::getInstance();
+        $front->resetInstance();
+        $front->setControllerDirectory('.');
         Zend_Controller_Action_HelperBroker::resetHelpers();
         $redirector = $this->_controller->getHelper('redirector');
         $redirector->setExit(false);