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

   ## What this PR does
   
   Migrates `LoanProductShortNameValidationTest` from the deprecated 
RestAssured-based approach to the typed fineract-client-feign client, as part 
of [FINERACT-2549](https://issues.apache.org/jira/browse/FINERACT-2549).
   
   ## Changes
   
   - **LoanProductShortNameValidationTest**: Removed RestAssured 
`requestSpec`/`responseSpec` fields, `@BeforeEach` setup, and 
`LoanTransactionHelper` dependency. Replaced with direct feign client calls 
using `FineractClientHelper` and `Calls.ok()`. The expected 403 duplicate short 
name error is now asserted using 
`assertThrows(CallFailedRuntimeException.class, ...)`.
   
   ## Checklist
   
   - [x] No RestAssured imports remaining
   - [x] GPG signed commit
   - [x] `spotlessApply` run
   - [x] Compiles successfully
   - [x] Relates to FINERACT-2549 (does not close it)


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