This commit is contained in:
17
fixtures/plugin_api/mime_detect_image.json
Normal file
17
fixtures/plugin_api/mime_detect_image.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"id": "mime_detect_image",
|
||||
"category": "mime_utilities",
|
||||
"description": "Detect MIME type from PNG image bytes",
|
||||
"tags": ["mime", "detection", "image", "bytes"],
|
||||
"call": "detect_mime_type_from_bytes",
|
||||
"input": {
|
||||
"data": "images/test_hello_world.png"
|
||||
},
|
||||
"assertions": [
|
||||
{
|
||||
"type": "contains",
|
||||
"field": "result",
|
||||
"value": "png"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user