diff --git a/tests/scenarios/example.json b/tests/scenarios/example.json index 5b9421f..7f6ab08 100644 --- a/tests/scenarios/example.json +++ b/tests/scenarios/example.json @@ -123,6 +123,29 @@ "upstream_path": "/upload?source=test", "file_forwarded": true } + }, + { + "id": "docx-upload", + "kind": "file", + "path": "/upload?source=test", + "headers": {"x-test": "upload"}, + "file": { + "field": "file", + "path": "fixtures/sample.docx", + "filename": "sample.docx", + "mime": "application/vnd.openxmlformats-officedocument.wordprocessingml.document" + }, + "response": { + "status": 200, + "headers": {"content-type": "application/json"}, + "body": {"stored": true} + }, + "expect": { + "status": 200, + "body": {"stored": true}, + "upstream_path": "/upload?source=test", + "file_forwarded": true + } } ] }