Explorar o código

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 %!s(int64=16) %!d(string=hai) anos
pai
achega
1bef23a421
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
      * @var string
      */
-    protected $_method;
+    protected $_method = 'GET';
 
     /**
      * Raw POST body