-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: importing more than 10 subgroups #1059
Fix: importing more than 10 subgroups #1059
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very promising :)
Hi @timadevelop, thanks for your contribution so far, it seems like you are on the right track. Unfortunately the SubGroupUtil.java.legacy handles the subgroups differently and as we support also older version, it might be good to separate the initial test from the one with many subgroups. Would it be possible that you maybe add this scenario as @order(48) with a separate json-file so we can add this line to ignore it for older Keycloak versions?
Best Regards |
- + fix delete group test
GroupRepresentation subGroup = subGroups.get(0); | ||
assertThat("subgroup is null", subGroup, notNullValue()); | ||
assertThat("subgroup's name not equal", subGroup.getName(), startsWith("My SubGroup")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tbh we don't care about the name or the order of the groups, but i think it's ok to leave this assert here
@jonasvoelcker done ✅ . Also fixed the |
Signed-off-by: Jonas Voelcker <barmer@jonas-voelcker.de>
@timadevelop I've changed the order as no init step is needed that way. ;) |
@jonasvoelcker thank you |
What this PR does / why we need it:
Which issue this PR fixes : fixes #1014
PR Readiness Checklist:
Complete these before marking the PR as
ready to review
:CHANGELOG.md
release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR