Bläddra i källkod

[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 14 år sedan
förälder
incheckning
2f1d360fd4
1 ändrade filer med 1 tillägg och 0 borttagningar
  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');
         $request  = new Zend_Controller_Request_Http('http://framework.zend.com/empty');
         $response = new Zend_Controller_Response_Cli();
         $response = new Zend_Controller_Response_Cli();
         $broker   = new Zend_Controller_Plugin_Broker();
         $broker   = new Zend_Controller_Plugin_Broker();
+        $broker->setRequest($request);
         $broker->setResponse($response);
         $broker->setResponse($response);
         $broker->registerPlugin(new Zend_Controller_Plugin_BrokerTest_ExceptionTestPlugin());
         $broker->registerPlugin(new Zend_Controller_Plugin_BrokerTest_ExceptionTestPlugin());
         try {
         try {