Skip to content

Commit

Permalink
fix: Fix fields organizations (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedetta-fabbri authored Jan 16, 2025
2 parents de31297 + b9529b5 commit 824a961
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public OrganizationDTO mapToOrganizationDTO(Organization organization, List<Stri
.ipaCode(organization.getIpaCode())
.orgName(organization.getOrgName())
.operatorRole(operatorRole)
.orgLogo(organization.getOrgLogoDesc())
.orgLogo(organization.getOrgLogo())
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void testMapToOrganizationDTO_ValidRoles() {
organization.setOrganizationId(123L);
organization.setIpaCode("testIpaCode");
organization.setOrgName("Test Organization");
organization.setOrgLogoDesc("base64LogoString");
organization.setOrgLogo("base64LogoString");
List<String> roles = Collections.singletonList("ROLE_ADMIN");

OrganizationDTO result = mapper.mapToOrganizationDTO(organization, roles);
Expand Down

0 comments on commit 824a961

Please sign in to comment.