DhroovSankla opened a new pull request, #6328:
URL: https://github.com/apache/fineract/pull/6328

   ## Description
   This Pull Request resolves 
[FINERACT-2784](https://issues.apache.org/jira/browse/FINERACT-2784) by 
migrating `NotesTest.java` to use Fineract's generated type-safe Feign client 
APIs instead of legacy RestAssured calls.
   
   - Relocated `NotesTest.java` to 
`org.apache.fineract.integrationtests.client` package.
   - Made the class extend the base `IntegrationTest` class.
   - Replaced all raw HTTP requests and `NotesHelper` calls with calls to 
`fineractClient().notes`.
   - Swapped manual JSON strings for `NoteCreateRequest` and 
`NoteUpdateRequest` model builders.
   - Standardized error assertion using `Calls.executeU` to check for `404` 
status codes.
   
   ## Impact
   - Cleans up legacy integration tests and replaces deprecated REST-Assured 
helper methods with type-safe Feign APIs as part of the FINERACT-2649 effort.
   
   ## Verifications
   - `./gradlew spotlessApply` completed successfully.
   - `./gradlew :integration-tests:checkstyleTest` passed without any 
violations.
   - `./gradlew :integration-tests:test --tests 
"org.apache.fineract.integrationtests.client.NotesTest"` successfully passed 
all 13 test cases.


-- 
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]

Reply via email to