mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
ci: fix Array to String Conversion in CallUrl with POST array of array
This commit is contained in:
@@ -14,7 +14,6 @@ use ReflectionMethod;
|
|||||||
use SetupUtils;
|
use SetupUtils;
|
||||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||||
use Symfony\Component\HttpKernel\KernelInterface;
|
use Symfony\Component\HttpKernel\KernelInterface;
|
||||||
|
|
||||||
use const DEBUG_BACKTRACE_IGNORE_ARGS;
|
use const DEBUG_BACKTRACE_IGNORE_ARGS;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -663,7 +662,7 @@ abstract class ItopTestCase extends KernelTestCase
|
|||||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
|
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
|
||||||
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
|
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
|
||||||
curl_setopt_array($ch, $aCurlOptions);
|
curl_setopt_array($ch, $aCurlOptions);
|
||||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $aPostFields);
|
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($aPostFields));
|
||||||
|
|
||||||
$sOutput = curl_exec($ch);
|
$sOutput = curl_exec($ch);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user