We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02a0d78 commit 220b6bdCopy full SHA for 220b6bd
tests/Fixtures/Saloon/extract-text-non-existing.json
@@ -3,5 +3,5 @@
3
"headers": {
4
"content-type": "application\/json"
5
},
6
- "data": "{\"detail\":\"File not found at given url.\"}"
+ "data": "{\"detail\":\"Unsupported mime type 'text\/html'. Expecting application\/pdf.\"}"
7
}
tests/ParseTest.php
@@ -172,7 +172,7 @@
172
173
$mockClient->assertSentCount(1);
174
175
-})->throws(UnprocessableEntityException::class, 'File not found at given url.');
+})->throws(UnprocessableEntityException::class, 'Unprocessable Entity (422) Response: {"detail":"Unsupported mime type \'text/html\'. Expecting application/pdf."}');
176
177
test('handle pdfact not available', function () {
178
$mockClient = MockClient::global([
0 commit comments