Skip to content

Commit 8e240f0

Browse files
committed
Allow PATCH as an option in functional tests
1 parent d01d843 commit 8e240f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/util/sfBrowserBase.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public function call($uri, $method = 'get', $parameters = array(), $changeStack
272272

273273
// request parameters
274274
$_GET = $_POST = array();
275-
if (in_array(strtoupper($method), array('POST', 'DELETE', 'PUT')))
275+
if (in_array(strtoupper($method), array('POST', 'DELETE', 'PUT', 'PATCH')))
276276
{
277277
if (isset($parameters['_with_csrf']) && $parameters['_with_csrf'])
278278
{

0 commit comments

Comments
 (0)