diff --git a/3rdparty b/3rdparty index 45bb685838214..94202ee00f6fd 160000 --- a/3rdparty +++ b/3rdparty @@ -1 +1 @@ -Subproject commit 45bb6858382146f9ae306e7e5004f415ed9f37c6 +Subproject commit 94202ee00f6fd7a88c2d5adbf13cf3fd23cd5ef1 diff --git a/tests/lib/Http/Client/ResponseTest.php b/tests/lib/Http/Client/ResponseTest.php index f8f520d6a7389..1384e4e732c05 100644 --- a/tests/lib/Http/Client/ResponseTest.php +++ b/tests/lib/Http/Client/ResponseTest.php @@ -9,7 +9,7 @@ namespace Test\Http\Client; use GuzzleHttp\Psr7\Response as GuzzleResponse; -use function GuzzleHttp\Psr7\stream_for; +use GuzzleHttp\Psr7\Utils; use OC\Http\Client\Response; /** @@ -25,7 +25,7 @@ protected function setUp(): void { } public function testGetBody() { - $response = new Response($this->guzzleResponse->withBody(stream_for('MyResponse'))); + $response = new Response($this->guzzleResponse->withBody(Utils::streamFor('MyResponse'))); $this->assertSame('MyResponse', $response->getBody()); }