Skip to content

FINERACT-2116: Add validation integration tests for Credit Bureau Configuration APIs#5460

Open
DeathGun44 wants to merge 1 commit intoapache:developfrom
DeathGun44:FINERACT-2116/credit-bureau-config-validation
Open

FINERACT-2116: Add validation integration tests for Credit Bureau Configuration APIs#5460
DeathGun44 wants to merge 1 commit intoapache:developfrom
DeathGun44:FINERACT-2116/credit-bureau-config-validation

Conversation

@DeathGun44
Copy link
Contributor

Description

This PR adds validation integration tests for Credit Bureau Configuration APIs (FINERACT-2116).

Tests cover:

  • Credit Bureau Configuration: missing/blank/exceeding length for configkey, value, description
  • Organisation Credit Bureau: missing/blank/exceeding length for alias
  • Loan Product Mapping: missing loanProductId, isCreditcheckMandatory, skipCreditcheckInFailure, stalePeriod

Important

Dependency: This PR includes a test for missing loanProductId validation which will fail until #5457 is merged. That PR fixes the NPE that causes a 500 error instead of 400 validation error.

Checklist

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