Verbose curl for appveyor

This commit is contained in:
Daniil Gentili 2020-02-04 00:49:40 +01:00
parent 6fbd605559
commit a464523b20

View File

@ -55,6 +55,7 @@ class IntegrationTest extends TestCase
$handle = \curl_init("https://api.telegram.org/bot$token/sendVideoNote?chat_id=$dest"); $handle = \curl_init("https://api.telegram.org/bot$token/sendVideoNote?chat_id=$dest");
\curl_setopt($handle, CURLOPT_POST, true); \curl_setopt($handle, CURLOPT_POST, true);
\curl_setopt($handle, CURLOPT_VERBOSE, true);
\curl_setopt($handle, CURLOPT_POSTFIELDS, [ \curl_setopt($handle, CURLOPT_POSTFIELDS, [
$type => new CURLFile(\basename($url)) $type => new CURLFile(\basename($url))
]); ]);