aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2022-07-01 20:30:35 +0200
committerszaimen <szaimen@e.mail.de>2022-07-01 22:52:10 +0200
commit2ad53742f209294eced274366b7b80c17f34d15c (patch)
tree9999a6a3796daeab5adb1629173357e4c1cf8510 /tests
parent6222b702db03d7bf08bd80c760fdaca3c0167db5 (diff)
downloadnextcloud-server-2ad53742f209294eced274366b7b80c17f34d15c.tar.gz
nextcloud-server-2ad53742f209294eced274366b7b80c17f34d15c.zip
fix external storages access
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Http/Client/ClientServiceTest.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/lib/Http/Client/ClientServiceTest.php b/tests/lib/Http/Client/ClientServiceTest.php
index 94f4d51ecee..395e6726131 100644
--- a/tests/lib/Http/Client/ClientServiceTest.php
+++ b/tests/lib/Http/Client/ClientServiceTest.php
@@ -10,7 +10,6 @@ namespace Test\Http\Client;
use GuzzleHttp\Client as GuzzleClient;
use GuzzleHttp\HandlerStack;
-use GuzzleHttp\Handler\CurlHandler;
use OC\Http\Client\Client;
use OC\Http\Client\ClientService;
use OC\Http\Client\DnsPinMiddleware;
@@ -42,8 +41,7 @@ class ClientServiceTest extends \Test\TestCase {
$localAddressChecker
);
- $handler = new CurlHandler();
- $stack = HandlerStack::create($handler);
+ $stack = HandlerStack::create();
$stack->push($dnsPinMiddleware->addDnsPinning());
$guzzleClient = new GuzzleClient(['handler' => $stack]);