banking-kata-java icon indicating copy to clipboard operation
banking-kata-java copied to clipboard

BankingProviderContractTest - ContextConfiguration

Open valentinajemuovic opened this issue 2 years ago • 0 comments

For the class BankingProviderContractTest, currently we have @ActiveProfiles({ ProfileNames.ADAPTER_PERSISTENCE_JPA, ProfileNames.ADAPTER_PERSISTENCE_REDIS, ProfileNames.ADAPTER_GENERATION_RANDOM, ProfileNames.ADAPTER_TIME_SYSTEM, ProfileNames.ADAPTER_MICROSERVICE_SIM, ProfileNames.ADAPTER_THIRDPARTY_SIM, ProfileNames.ADAPTER_AUTH_NONE})

May consider getting @ContextConfiguration(classes = ContractTestConfiguration.class) to work instead of ActiveProfiles, so that we could pass in the fakes rather than real, since anyway the application core is being mocked out here.

valentinajemuovic avatar Feb 08 '23 12:02 valentinajemuovic