Skip to content

Commit

Permalink
fix: tests on roles based sync
Browse files Browse the repository at this point in the history
(cherry picked from commit d606c18)
  • Loading branch information
f-necas committed Aug 12, 2024
1 parent fae4077 commit 143dab6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ public GroupLink assertGroupLink(CanonicalGroup expected) {
public void assertGroup(CanonicalGroup expected, Group actual) {
assertEquals(expected.getName(), actual.getName());
assertEquals(expected.getDescription(), actual.getDescription());
assertEquals(expected.getLinkage(), actual.getWebsite());
if (!getConfig().getSyncMode().equals(GroupSyncMode.roles)) {
assertEquals(expected.getLinkage(), actual.getWebsite());
}
}

public void addGeonetworkGroup(CanonicalGroup g) {
Expand Down

0 comments on commit 143dab6

Please sign in to comment.