Skip to content

FINERACT-2784: Migrate NotesTest integration tests to Feign - #6328

Open
DhroovSankla wants to merge 1 commit into
apache:developfrom
DhroovSankla:FINERACT-2784-migrate-notestest-to-feign
Open

FINERACT-2784: Migrate NotesTest integration tests to Feign#6328
DhroovSankla wants to merge 1 commit into
apache:developfrom
DhroovSankla:FINERACT-2784-migrate-notestest-to-feign

Conversation

@DhroovSankla

Copy link
Copy Markdown
Contributor

Description

This Pull Request resolves 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.

@DhroovSankla

Copy link
Copy Markdown
Contributor Author

@adamsaghy
Looking forward for your review!

Signed-off-by: Dhroov Sankla <dhroovsankla2004@gmail.com>
@DhroovSankla
DhroovSankla force-pushed the FINERACT-2784-migrate-notestest-to-feign branch from 18edfd4 to 895ab9e Compare August 27, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant