This commit is contained in:
17
fixtures/error/error_invalid_mime_format.json
Normal file
17
fixtures/error/error_invalid_mime_format.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"id": "error_invalid_mime_format",
|
||||
"category": "error",
|
||||
"description": "Error when extracting with invalid MIME type format",
|
||||
"tags": ["error", "input", "mime"],
|
||||
"call": "extract_bytes_sync",
|
||||
"input": {
|
||||
"data": "text/plain.txt",
|
||||
"mime_type": "not-a-mime",
|
||||
"config": {}
|
||||
},
|
||||
"assertions": [
|
||||
{
|
||||
"type": "error"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user