File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ protected function generateFromGuzzleRequest(GuzzleRequest $request) : string
49
49
'method ' => $ this ->request ->getMethod (),
50
50
'timestamp ' => $ timestamp ,
51
51
'uri ' => (string ) $ this ->request ->getUri (),
52
- 'content ' => $ this ->request ->getBody ()
52
+ 'content ' => $ this ->request ->getBody ()-> getContents ()
53
53
], JSON_UNESCAPED_SLASHES );
54
54
}
55
55
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public function it_translates_a_guzzle_request_to_a_json_encoded_string()
31
31
'method ' => $ method ,
32
32
'timestamp ' => $ now ,
33
33
'uri ' => $ uri ,
34
- 'content ' => $ request ->getBody ()
34
+ 'content ' => $ request ->getBody ()-> getContents ()
35
35
], JSON_UNESCAPED_SLASHES );
36
36
37
37
$ this ->assertEquals ($ expected , (string ) new Payload ($ request ));
You can’t perform that action at this time.
0 commit comments