瀏覽代碼

ZF-6162 - Set default method of Zend_Controller_Request_HttpTestCase to GET.

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18226 44c647ce-9c0f-0410-b52a-842ac1e357ba
beberlei 16 年之前
父節點
當前提交
1bef23a421
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      library/Zend/Controller/Request/HttpTestCase.php

+ 1 - 1
library/Zend/Controller/Request/HttpTestCase.php

@@ -45,7 +45,7 @@ class Zend_Controller_Request_HttpTestCase extends Zend_Controller_Request_Http
      * Request method
      * Request method
      * @var string
      * @var string
      */
      */
-    protected $_method;
+    protected $_method = 'GET';
 
 
     /**
     /**
      * Raw POST body
      * Raw POST body