From: Pierrick Charron Date: Wed, 7 Dec 2011 16:46:48 +0000 (+0000) Subject: Fix test X-Git-Tag: php-5.3.9RC3~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc8fc80049e1cd9c57c2b82f42100f880e80212b;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));