adorsys / open-banking-gateway

Provides RESTful API, tools, adapters, and connectors for transparent access to open banking API's (for banks that support PSD2 and XS2A as well as HBCI/FinTS)
https://adorsys.github.io/open-banking-gateway
GNU Affero General Public License v3.0
237 stars 91 forks source link

Add validation of OPBA response bodies to E2E tests #422

Open valb3r opened 4 years ago

valb3r commented 4 years ago

Currently, i.e. WiremockE2EXs2aProtocolTest is rather permissive on response bodies received from OpenBanking. We need to make more strict OpenBanking responses validation - both for headers and bodies. I.e. user_anton_brueckner_provided_initial_parameters_to_list_accounts_with_all_accounts_consent does not assert body (when no consent is present).

gatiskalnins commented 2 years ago

https://jira.adorsys.de/browse/OBG-79