8000 Review of ImpersonationTest by jimmychakkalakal · Pull Request #50378 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Review of ImpersonationTest - #50378

Merged
mposolda merged 2 commits into
keycloak:mainfrom
jimmychakkalakal:review/impersonation_test_review_48193
Jun 29, 2026
Merged

mposolda merged 2 commits into
keycloak:mainfrom
jimmychakkalakal:review/impersonation_test_review_48193

Conversation

@jimmychakkalakal
Copy link
Copy Markdown
Contributor

Closes #48193

@jimmychakkalakal
jimmychakkalakal requested a review from a team as a code owner June 26, 2026 16:14
Copilot AI review requested due to automatic review settings June 26, 2026 16:14
@jimmychakkalakal
jimmychakkalakal force-pushed the review/impersonation_test_review_48193 branch from ade10d7 to 8cd2584 Compare June 26, 2026 16:14
Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs a focused cleanup and correctness pass over ImpersonationTest, improving test reliability and readability in Keycloak’s admin impersonation integration tests.

Changes:

  • Fixes test method names/typos and standardizes assertions using Hamcrest assertThat.
  • Improves resource lifecycle handling by registering created users/clients for cleanup via ManagedRealm.cleanup().
  • Refactors duplicated cookie extraction logic into a helper and makes the impersonation admin endpoint realm dynamic.

Copilot AI review requested due to automatic review settings June 26, 2026 16:19
Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

jimmychakkalakal and others added 2 commits June 29, 2026 10:41
Closes keycloak#48193

Signed-off-by: Jimmy Chakkalakal <jimmy.chakkalakal@ibm.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: jimmychakkalakal <47317106+jimmychakkalakal@users.noreply.github.com>
Signed-off-by: Jimmy Chakkalakal <jimmy.chakkalakal@ibm.com>
@mposolda
mposolda force-pushed the review/impersonation_test_review_48193 branch from e733b88 to bff5dfa Compare June 29, 2026 08:41
@mposolda mposolda left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mposolda
mposolda merged commit 3cd030a into keycloak:main Jun 29, 2026
88 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Review ImpersonationTest

3 participants

0