Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
madurangasiriwardena committed Feb 9, 2024
1 parent 3f45630 commit ab01d3f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2919,7 +2919,8 @@ public IdentityProvider getIDPbyResourceId(Connection dbConnection, String resou
String tenantDomain) throws IdentityProviderManagementException {

IdentityProvider idp = getIDP(dbConnection, null, -1, resourceId, tenantId, tenantDomain);
if (IdentityApplicationConstants.RESIDENT_IDP_RESERVED_NAME.equals(idp.getIdentityProviderName())) {
if (idp != null
&& IdentityApplicationConstants.RESIDENT_IDP_RESERVED_NAME.equals(idp.getIdentityProviderName())) {
fillResidentIdpProperties(idp, tenantDomain);
}
return idp;
Expand Down

0 comments on commit ab01d3f

Please sign in to comment.