Skip to content

Commit

Permalink
Update passing of files according to feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
CoalaJoe committed Apr 10, 2020
1 parent 2301538 commit 45e58dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Bridge/Symfony/Bundle/Test/Client.php
Expand Up @@ -122,8 +122,7 @@ public function request(string $method, string $url, array $options = []): Respo
'url' => $resolvedUrl,
'primary_port' => 'http:' === $url['scheme'] ? 80 : 443,
];
$extra = $options['extra'] ?? [];
$this->kernelBrowser->request($method, $resolvedUrl, [], $extra['files'] ?? [], $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 45e58dd

Please sign in to comment.