Phase 2 Person test are failing because "consents" scope is missing from token
1. What happened and what were you expecting?
In the test we have a GET in the consent API /open-insurance/consents/v2/consents/{consentId} in the step "CallConsentEndpointWithBearerTokenAnyHttpMethod" but we have a problem, because the token generated before in the step "CallTokenEndpoint" does not contain the scope "consents", making the request to fail (a response HTTP 403 is returned from server, which is correct because the scope "consents" is missing from token) but the test fail with a "unexpected exception caught: java.lang.NullPointerException".
2. Test Id
test name | test id | plan id |
---|---|---|
person_api_granular-permissions_test-module_v1 | 8T1QxoSxoJ6MlcN | M7wcT1eX4mAAr |
Edited by Romário Bispo Silva