Krishna Mewara created FINERACT-2887:
----------------------------------------
Summary: Migrate the remaining Retrofit integration tests to the
Feign client
Key: FINERACT-2887
URL: https://issues.apache.org/jira/browse/FINERACT-2887
Project: Apache Fineract
Issue Type: Improvement
Components: Test
Affects Versions: 1.15.0
Reporter: Krishna Mewara
Assignee: Krishna Mewara
Fix For: 1.16.0
Part of FINERACT-2609 (roadmap row 17).
16 integration test classes still use the old Retrofit client. 13 of them
extend the Retrofit IntegrationTest base, mostly in integrationtests/client;
GroupTest, InstanceModeIntegrationTest and LoanProductShortNameValidationTest
call the Retrofit client directly.
Scope:
- Move these 16 classes to the Feign client and keep every test name.
- Delete the IntegrationTest base once nothing extends it.
- Add multipart create/update to the Feign ImagesApi, which could only upload a
data URL.
- Remove FeignDocumentTest, which duplicates the migrated DocumentTest.
Done when no test class uses the Retrofit client and IntegrationTest is gone.
The Retrofit calls still inside the old helper classes are left for the
closeout (row 14).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)