aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap/Avatar.php
diff options
context:
space:
mode:
authorMichaIng <micha@dietpi.com>2022-02-22 21:53:01 +0100
committerMichaIng <micha@dietpi.com>2022-02-22 23:07:16 +0100
commite4588a37d06f607776b731dd19ae862fbe91fe27 (patch)
tree5d48ee58c74160b679e0eb8274c8f20b4e1fa59c /build/integration/features/bootstrap/Avatar.php
parenta45f88106ce0912dbd537b0623f0f43b6e6ecadb (diff)
downloadnextcloud-server-e4588a37d06f607776b731dd19ae862fbe91fe27.tar.gz
nextcloud-server-e4588a37d06f607776b731dd19ae862fbe91fe27.zip
Update GuzzleHttp function call for v7
https://github.com/guzzle/guzzle/issues/2824 Signed-off-by: MichaIng <micha@dietpi.com>
Diffstat (limited to 'build/integration/features/bootstrap/Avatar.php')
-rw-r--r--build/integration/features/bootstrap/Avatar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/integration/features/bootstrap/Avatar.php b/build/integration/features/bootstrap/Avatar.php
index 56bf3b5da0f..6e59beeb7de 100644
--- a/build/integration/features/bootstrap/Avatar.php
+++ b/build/integration/features/bootstrap/Avatar.php
@@ -109,7 +109,7 @@ trait Avatar {
* @param string $source
*/
public function loggedInUserPostsTemporaryAvatarFromFile(string $source) {
- $file = \GuzzleHttp\Psr7\stream_for(fopen($source, 'r'));
+ $file = \GuzzleHttp\Psr7\Utils::streamFor(fopen($source, 'r'));
$this->sendingAToWithRequesttoken('POST', '/index.php/avatar',
[