-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fixed creating user #23484
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
Fixed creating user #23484
Conversation
jonkoops
left a comment
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 like this PR fixes several bugs, if they are two distinct bugs I would prefer we have two PRs instead. The reason for this is that we can only link a single issue per commit, otherwise one of them will not show up in the release notes.
| import { toUser } from "./routes/User"; | ||
|
|
||
| import "./user-section.css"; | ||
| import RealmRepresentation from "libs/keycloak-admin-client/lib/defs/realmRepresentation"; |
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.
This import should be coming from @keycloak/keycloak-admin-client
| await adminClient.users.update( | ||
| { id: user!.id! }, | ||
| toUserRepresentation(data), | ||
| { |
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.
The toUserRepresentation() function still needs to be called on the data being passed here.
Passing run #9058 ↗︎Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
|||||||||||||||
ssilvert
left a comment
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.
LGTM. I'd also like @edewit to take a look and approve before merging.
jonkoops
left a comment
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.
LGTM!
2 flaky tests on run #9064 ↗︎Details:
|
|||||||||||||||||||||||||||
| Test | Artifacts | |
|---|---|---|
| Group test > Child Groups > Delete group from item bar |
Output
Screenshots
|
|
masthead_test.spec.ts • 1 flaky test • firefox
| Test | Artifacts | |
|---|---|---|
| Masthead tests > Desktop view > Go to account console and back to admin console |
Output
Screenshots
|
|
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.
Closes #23327