Fix FPM tester conflict

This commit is contained in:
Jakub Zelenka 2022-08-29 22:44:53 +01:00
parent f3c357c446
commit e3034dba3e
No known key found for this signature in database
GPG key ID: 1C0779DC5C0A9DE4

View file

@ -619,12 +619,9 @@ class Tester
string $errorMessage = null,
bool $connKeepAlive = false,
string $scriptFilename = null,
<<<<<<< HEAD
string $stdin = null
=======
string $stdin = null,
bool $expectError = false,
int $readLimit = -1,
>>>>>>> PHP-8.1
) {
if ($this->hasError()) {
return new Response(null, true);
@ -634,11 +631,7 @@ class Tester
try {
$this->response = new Response(
<<<<<<< HEAD
$this->getClient($address, $connKeepAlive)->request_data($params, $stdin)
=======
$this->getClient($address, $connKeepAlive)->request_data($params, false, $readLimit)
>>>>>>> PHP-8.1
$this->getClient($address, $connKeepAlive)->request_data($params, $stdin, $readLimit)
);
if ($expectError) {
$this->error('Expected request error but the request was successful');