Skip to content

Commit 0cfa681

Browse files
committed
ci(integration): Fix avatar test with newer guzzle version
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent 49ec9a2 commit 0cfa681

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/integration/features/bootstrap/Avatar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function loggedInUserGetsTemporaryAvatarWith(string $statusCode) {
109109
* @param string $source
110110
*/
111111
public function loggedInUserPostsTemporaryAvatarFromFile(string $source) {
112-
$file = \GuzzleHttp\Psr7\stream_for(fopen($source, 'r'));
112+
$file = \GuzzleHttp\Psr7\Utils::streamFor(fopen($source, 'r'));
113113

114114
$this->sendingAToWithRequesttoken('POST', '/index.php/avatar',
115115
[

0 commit comments

Comments
 (0)