Skip to content

Commit

Permalink
Merge pull request #3 from JamesAlias/JamesAlias-patch-PlaywrightConn…
Browse files Browse the repository at this point in the history
…ector

BUGFIX: PlaywrightConnector uses magic $request
  • Loading branch information
skurfuerst authored Feb 15, 2022
2 parents 678ab28 + a1f8594 commit 2ecec9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Behavior/Bootstrap/PlaywrightConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private function sendRequest(string $method, string $requestUri, string $content

$curlResult = curl_exec($curlHandle);
if ($curlResult === false) {
throw new \RuntimeException(sprintf('cURL reported error code %s with message "%s". Last requested URL was "%s" (%s).', curl_errno($curlHandle), curl_error($curlHandle), curl_getinfo($curlHandle, CURLINFO_EFFECTIVE_URL), $request->getMethod()), 1338906040);
throw new \RuntimeException(sprintf('cURL reported error code %s with message "%s". Last requested URL was "%s" (%s).', curl_errno($curlHandle), curl_error($curlHandle), curl_getinfo($curlHandle, CURLINFO_EFFECTIVE_URL), $method), 1338906040);
}

curl_close($curlHandle);
Expand Down

0 comments on commit 2ecec9c

Please sign in to comment.