Skip to content

Commit

Permalink
fixed #4595 - [Tests] Make Tests compatible to guzzlehttp/psr7:1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Fasching committed Jul 1, 2019
1 parent f0d375b commit aabdac8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/_support/Rest/BrowserKitRestClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ public function getResponse($method, $uri, array $parameters = [], array $files
$request = new Request(
$browserKitRequest->getMethod(),
$browserKitRequest->getUri(),
$browserKitRequest->getServer(),
//need to cast header values to string as only numeric and string are accepted by psr standard
array_map(function($value) { return (string) $value; }, $browserKitRequest->getServer()),
$browserKitRequest->getContent()
);

Expand Down

0 comments on commit aabdac8

Please sign in to comment.