From: Pierrick Charron Date: Wed, 7 Dec 2011 16:46:48 +0000 (+0000) Subject: Fix test X-Git-Tag: php-5.4.0RC3~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e87cd3399667e9da4142d29dc19b0f5a0b43d2e;p=php Fix test --- diff --git a/ext/curl/tests/bug27023.phpt b/ext/curl/tests/bug27023.phpt index ca42c60927..b738c956e9 100644 --- a/ext/curl/tests/bug27023.phpt +++ b/ext/curl/tests/bug27023.phpt @@ -33,7 +33,7 @@ $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt;type=text/plain;f curl_setopt($ch, CURLOPT_POSTFIELDS, $params); var_dump(curl_exec($ch)); -$params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt;type=text/plain;filename=foo.txt'); +$params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt;filename=foo.txt;type=text/plain'); curl_setopt($ch, CURLOPT_POSTFIELDS, $params); var_dump(curl_exec($ch));