Skip to content

(OICS-772): Fix expecting optional field coverages.quoteData

Carla Prudencio requested to merge OICS-772 into main

Related Task

Closes OICS-772

Fix #308 (closed)

Test Log

Test Profile: Open Insurance Brasil Functional Tests for Phase 3 - Services
Test Plan: Functional test for Quote Patrimonial Business API - based on Swagger version: 1.8.0
Test module: opin-quote-patrimonial-business_api_rejected_test-module_v1 test-log-opin-quote-patrimonial-business_api_rejected_test-module_v1-mtls-pushed-openinsurance_brazil-plain_response-t0cILUz5PLXOSTy.zip

opin-quote-patrimonial-business_api_core-canc_test-module_v1 test-log-opin-quote-patrimonial-business_api_core-canc_test-module_v1-mtls-pushed-openinsurance_brazil-plain_response-N8Hn5L9pdk5s8F2.zip

opin-quote-patrimonial-business_api_core-ackn_test-module_v1 test-log-opin-quote-patrimonial-business_api_core-ackn_test-module_v1-mtls-pushed-openinsurance_brazil-plain_response-F2wBIQ9kFp6z6qr.zip

The coverages inside of quoteData is optional, but Conformance was failing when it was not present. This issue has now been fixed.

But the tests are still failing after the fix because quotes.coverages (this one is mandatory) is incomplete, it has 4 mandatory fields (branch, code, isSeparateContractingAllowed, maxLMI) and it's only sending 2 of them:

Screenshot 2024-06-19 at 18.05.36.png

Screenshot 2024-06-19 at 18.09.29.png

Merge request reports