Explorar o código

[GENERIC]: fix test error in Zend_Controller_Plugin_BrokerTest::testBrokerCatchesExceptions

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24295 44c647ce-9c0f-0410-b52a-842ac1e357ba
mikaelkael %!s(int64=14) %!d(string=hai) anos
pai
achega
2f1d360fd4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tests/Zend/Controller/Plugin/BrokerTest.php

+ 1 - 0
tests/Zend/Controller/Plugin/BrokerTest.php

@@ -185,6 +185,7 @@ class Zend_Controller_Plugin_BrokerTest extends PHPUnit_Framework_TestCase
         $request  = new Zend_Controller_Request_Http('http://framework.zend.com/empty');
         $response = new Zend_Controller_Response_Cli();
         $broker   = new Zend_Controller_Plugin_Broker();
+        $broker->setRequest($request);
         $broker->setResponse($response);
         $broker->registerPlugin(new Zend_Controller_Plugin_BrokerTest_ExceptionTestPlugin());
         try {