Skip to content

FINERACT-2889: Migrate PaymentTypeIntegrationTest to Feign client - #6569

Open
DhroovSankla wants to merge 1 commit into
apache:developfrom
DhroovSankla:FINERACT-2889-migrate-paymenttype-integration-test-to-feign
Open

DhroovSankla wants to merge 1 commit into
apache:developfrom
DhroovSankla:FINERACT-2889-migrate-paymenttype-integration-test-to-feign

Conversation

@DhroovSankla

Copy link
Copy Markdown
Contributor

Description

Migrate legacy PaymentTypeIntegrationTest from the deprecated RestAssured setup to the type-safe Feign client API as part of ongoing technical debt remediation.

Jira Ticket: FINERACT-2889

Changes

  • Moved PaymentTypeIntegrationTest to the org.apache.fineract.integrationtests.client package and renamed class to PaymentTypeTest.
  • Refactored test cases to utilize type-safe Feign client endpoints via IntegrationTest.
  • Removed legacy RestAssured imports, RequestSpecification/ResponseSpecification setup, and explicit login calls.
  • Updated PaymentTypeHelper and related references to align with Feign client response models.

Checklist

  • Code complies with spotless code formatting rules (./gradlew spotlessApply)
  • Checkstyle tests pass cleanly (./gradlew :integration-tests:checkstyleTest)
  • Local integration tests verified successfully

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