Skip to content

Commit

Permalink
Merge 45e58dd into dc461fc
Browse files Browse the repository at this point in the history
  • Loading branch information
CoalaJoe committed Apr 10, 2020
2 parents dc461fc + 45e58dd commit 602b9b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Bridge/Symfony/Bundle/Test/Client.php
Expand Up @@ -44,6 +44,7 @@ final class Client implements HttpClientInterface
'body' => '',
'json' => null,
'base_uri' => 'http://example.com',
'extra' => [],
];

private $kernelBrowser;
Expand Down Expand Up @@ -121,7 +122,7 @@ public function request(string $method, string $url, array $options = []): Respo
'url' => $resolvedUrl,
'primary_port' => 'http:' === $url['scheme'] ? 80 : 443,
];
$this->kernelBrowser->request($method, $resolvedUrl, [], [], $server, $options['body'] ?? null);
$this->kernelBrowser->request($method, $resolvedUrl, [], $options['extra']['files'] ?? [], $server, $options['body'] ?? null);

return $this->response = new Response($this->kernelBrowser->getResponse(), $this->kernelBrowser->getInternalResponse(), $info);
}
Expand Down

0 comments on commit 602b9b9

Please sign in to comment.