Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Commit

Permalink
Do not use UploadFile for GoutteClient
Browse files Browse the repository at this point in the history
  • Loading branch information
Terje Bråten committed Mar 26, 2019
1 parent d784bce commit 7a1aca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HttpCall/Request/BrowserKit.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function send($method, $url, $parameters = [], $files = [], $content = nu
$client = $this->mink->getSession()->getDriver()->getClient();

$tmpFiles = [];
if (true || !$client instanceof GoutteClient) {
if (!$client instanceof GoutteClient) {
foreach ($files as &$file) {
if (is_string($file)) {
$tmpName = tempnam(sys_get_temp_dir(), 'upload');
Expand Down

0 comments on commit 7a1aca8

Please sign in to comment.