Skip to content

[SP-374] Test JSON file upload for NFC face - #109

Open
dvacca-onfido wants to merge 1 commit into
masterfrom
fix/test-json-file-upload
Open

[SP-374] Test JSON file upload for NFC face#109
dvacca-onfido wants to merge 1 commit into
masterfrom
fix/test-json-file-upload

Conversation

@dvacca-onfido

Copy link
Copy Markdown
Contributor

Context

Aligns the Ruby NFC face test with all other SDKs (Java, Python, PHP, Node) by actually uploading nfc_data.json instead of using a hardcoded document ID.

Expected result

This test is expected to fail (RED) because Marcel fails to detect application/json MIME type for .json files, causing a 422 validation error from the API.

The fix will follow in a separate PR updating the api_client_faraday_partial.mustache template in onfido-openapi-spec.

Align the Ruby NFC face test with all other SDKs (Java, Python, PHP, Node)
by actually uploading nfc_data.json instead of using a hardcoded document ID.

This test is expected to fail (RED) due to Marcel failing to detect
application/json MIME type for .json files, causing a 422 from the API.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants