Pārlūkot izejas kodu

Merge pull request #512 from elightbo/PATCH-support

Fix for #511 - Add PATCH to the list of allowed methods in Zend_Controller_Request_HttpTestCase
Frank Brückner 11 gadi atpakaļ
vecāks
revīzija
7470c92e76
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      library/Zend/Controller/Request/HttpTestCase.php

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

@@ -62,6 +62,7 @@ class Zend_Controller_Request_HttpTestCase extends Zend_Controller_Request_Http
         'GET',
         'HEAD',
         'OPTIONS',
+        'PATCH',
         'POST',
         'PUT',
     );