소스 검색

[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 년 전
부모
커밋
2f1d360fd4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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 {