Skip to content

Commit

Permalink
fix: Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
larshelge committed Jan 8, 2025
1 parent 63fe07b commit e6023f8
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 @@ -83,8 +83,6 @@ public void setUp() {

ouA = createOrganisationUnit('A');
ouB = createOrganisationUnit('B');
ouA.updatePath();
ouB.updatePath();
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1003,6 +1003,7 @@ public static OrganisationUnit createOrganisationUnit(char uniqueCharacter) {
unit.setCode("OrganisationUnitCode" + uniqueCharacter);
unit.setOpeningDate(date);
unit.setComment("Comment" + uniqueCharacter);
unit.updatePath();
// unit.getSharing().setPublicAccess("--------");

return unit;
Expand Down Expand Up @@ -1042,6 +1043,7 @@ public static OrganisationUnit createOrganisationUnit(String name) {
unit.setCode(name);
unit.setOpeningDate(date);
unit.setComment("Comment " + name);
unit.updatePath();

return unit;
}
Expand Down

0 comments on commit e6023f8

Please sign in to comment.