Skip to content

[OICS-766][OICS-769]: Fix expecting coverages field

Carla Prudencio requested to merge OICS-766 into main

Related Task

Closes OICS-766

Closes OICS-769

Test Log

Test Profile: Open Insurance Brasil Functional Tests for Phase 3 - Services
Test Plan: Functional test for Quote Patrimonial Diverse Risks API - based on Swagger version: 1.8.0 (Beta)
Test Module: opin-quote-patrimonial-diverse-risks_api_core-ackn_test-module_v1

test-log-opin-quote-patrimonial-diverse-risks_api_core-ackn_test-module_v1-mtls-by_value-openinsurance_brazil-plain_response-3g85fQmZzzknIpv.zip

Before the conformance was returning a failure in the scenario when quoteInfo.quoteData didn't have coverages. Now it doesn't anymore.

But the test is failing after that because quotes.coverages is incomplete, it has 4 mandatory fields (branch, code, isSeparateContractingAllowed, maxLMI) and it's only sending 2 of them:

Screenshot 2024-06-12 at 16.38.52.png

Edited by Carla Prudencio

Merge request reports