minor #38557 Fix tests (jderusse)
This PR was merged into the 4.4 branch.
Discussion
----------
Fix tests
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | /
| License | MIT
| Doc PR | /
Introduced by #38551
Commits
-------
91122492e8
Fix tests
This commit is contained in:
commit
15498970e6
@ -41,12 +41,6 @@ class MockResponseTest extends TestCase
|
|||||||
'message' => 'Response body is empty.',
|
'message' => 'Response body is empty.',
|
||||||
];
|
];
|
||||||
|
|
||||||
yield [
|
|
||||||
'content' => '{}',
|
|
||||||
'responseHeaders' => ['content-type' => 'plain/text'],
|
|
||||||
'message' => 'Response content-type is "plain/text" while a JSON-compatible one was expected for "https://example.com/file.json".',
|
|
||||||
];
|
|
||||||
|
|
||||||
yield [
|
yield [
|
||||||
'content' => 'not json',
|
'content' => 'not json',
|
||||||
'responseHeaders' => [],
|
'responseHeaders' => [],
|
||||||
|
Reference in New Issue
Block a user