diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-10-23 10:42:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-23 10:42:46 +0200 |
commit | 304c1b9b61b20dfa3c1f07e8a914f0661d91704d (patch) | |
tree | 26d26ae5c056384da64e78d21fb9a0919e268fd7 /tests | |
parent | 54ce35ebd80be7453bc4a59180c29630185dfab5 (diff) | |
parent | 2ad53742f209294eced274366b7b80c17f34d15c (diff) | |
download | nextcloud-server-304c1b9b61b20dfa3c1f07e8a914f0661d91704d.tar.gz nextcloud-server-304c1b9b61b20dfa3c1f07e8a914f0661d91704d.zip |
Merge pull request #33087 from nextcloud/fix/30282/external-storages
fix external storages access
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Http/Client/ClientServiceTest.php | 4 |
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]); |