diff --git a/example/multipart/consumer/tests/Service/HttpClientServiceTest.php b/example/multipart/consumer/tests/Service/HttpClientServiceTest.php index eeaebc11..0df7999d 100644 --- a/example/multipart/consumer/tests/Service/HttpClientServiceTest.php +++ b/example/multipart/consumer/tests/Service/HttpClientServiceTest.php @@ -35,7 +35,7 @@ public function testUpdateUserProfile() ]) ->setBody(new Multipart([ new Part($fullNameTempFile = $this->createTempFile($fullName), 'full_name', 'text/plain'), - new Part(__DIR__ . '/../_resource/image.jpg', 'profile_image', 'image/jpeg'), + new Part(__DIR__ . '/../_resource/image.jpg', 'profile_image', in_array(php_uname('m'), ['AMD64', 'arm64']) ? 'application/octet-stream' : 'image/jpeg'), new Part($personalNoteTempFile = $this->createTempFile($personalNote), 'personal_note', 'text/plain'), ]));