Fix tests
This commit is contained in:
parent
9cc3baa57e
commit
91122492e8
@ -41,12 +41,6 @@ class MockResponseTest extends TestCase
|
||||
'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 [
|
||||
'content' => 'not json',
|
||||
'responseHeaders' => [],
|
||||
|
Reference in New Issue
Block a user