Skip to content

Commit

Permalink
[DSC-1438] Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
atarix83 committed Jan 8, 2024
1 parent a8dbb34 commit 7b24d0e
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public void testDisambiguationFromOrgUnitHierarchyOnEmploymentCreation() {
assertThat(organization.getDisambiguatedOrganization().getDisambiguatedOrganizationIdentifier(), is("12345"));
assertThat(organization.getDisambiguatedOrganization().getDisambiguationSource(), is("RINGGOLD"));
}

@Test
public void testDisambiguationFromOrgUnitHierarchyOnEmploymentCreationWithAncestor() {

Expand All @@ -310,14 +310,13 @@ public void testDisambiguationFromOrgUnitHierarchyOnEmploymentCreationWithAncest
.withOrgUnitLocality("Milan")
.withOrgUnitRinggoldIdentifier("12345")
.build();

Item orgUnitFather = ItemBuilder.createItem(context, orgUnits)
.withTitle("4Science without rin")
.withOrgUnitCountry("IT")
.withOrgUnitLocality("Milan")
.withParentOrganization("4Science with rin", orgUnitGranfather.getID().toString())
.build();


Item orgUnit = ItemBuilder.createItem(context, orgUnits)
.withTitle("4Science")
Expand Down Expand Up @@ -363,7 +362,7 @@ public void testDisambiguationFromOrgUnitHierarchyOnEmploymentCreationWithAncest
assertThat(organization.getDisambiguatedOrganization().getDisambiguatedOrganizationIdentifier(), is("12345"));
assertThat(organization.getDisambiguatedOrganization().getDisambiguationSource(), is("RINGGOLD"));
}

@Test
public void testDisambiguationFromOrgUnitHierarchyOnEmploymentCreationWithNoId() {

Expand Down Expand Up @@ -417,8 +416,6 @@ public void testDisambiguationFromOrgUnitHierarchyOnEmploymentCreationWithNoId()
assertThat(organization.getAddress().getCity(), is("Milan"));
assertThat(organization.getDisambiguatedOrganization(), nullValue());
}



@Test
public void testQualificationCreation() {
Expand Down

0 comments on commit 7b24d0e

Please sign in to comment.