Dpk376 opened a new pull request, #5658:
URL: https://github.com/apache/fineract/pull/5658
## What this PR does
Migrates `InstanceModeIntegrationTest` from the deprecated RestAssured-based
helpers to the typed `fineract-client-feign` client, as part of
FINERACT-2441.
## Changes
- `SchedulerJobHelper`: Added no-arg constructor; replaced
`getSchedulerJobIdByShortName`
and `runSchedulerJob` with feign-based implementations using
`FineractClientHelper`
- `InstanceModeIntegrationTest`: Removed all RestAssured boilerplate
(`requestSpec`,
`responseSpec`, `Utils.initializeRESTAssured()`); migrated
`ClientHelper.createClient`
and `schedulerJobHelper.runSchedulerJob` calls to feign; error cases now
use
`assertThrows(CallFailedRuntimeException.class, ...)`
## Checklist
- [x] `./gradlew spotlessApply` passed
- [x] `./gradlew :integration-tests:compileTestJava` passed
- [x] No new RestAssured dependencies introduced
closes #FINERACT-2441
gsoc-fineract-evidence
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]