[OICS-677] opin-claim-notification-damages-api-test - inclusion of scope in token - ISS 265
Closes OICS-677
Fixes #265 (closed)
Test Log
Test Profile: Open Insurance Brasil Functional Tests for Phase 3 - Services
Test Plan: Functional test for Claim Notification Damages API - based on Swagger version: 1.2.3
Test Module: opin-claim-notification-damages-api-test
test-log-opin-claim-notification-damages-api-test-private_key_jwt-by_value-openbanking_brazil-plain_response-UCIQ1JOzmzY8D4e.zip
Previously, when calling the API associated to the chosen policy ID, the respective scope was not being passed. This caused the test to fail for some participants.
Now, to make sure issues with scopes don't happen anymore, the test will create a token with all phase 2 scopes during the policy ID extraction flow.
Edited by Luiky Vasconcelos