+
Skip to content

UserTest for admin-client #60

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

Merged
merged 2 commits into from
Sep 17, 2024
Merged

UserTest for admin-client #60

merged 2 commits into from
Sep 17, 2024

Conversation

graziang
Copy link
Contributor

Closes #41

Moved 93 of 115 tests. Tests that require the use of the webdriver and email, such as email verification or password reset tests have been removed. @mposolda

Closes keycloak#41

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
Copy link
Contributor

@mposolda mposolda left a comment

Choose a reason for hiding this comment

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

@graziang Added one inline comment. What do you think?

@@ -176,6 +176,7 @@
<outputDirectory>${project.build.directory}/unpacked</outputDirectory>
<includes>
org/keycloak/utils/StringUtil.java,
org/keycloak/models/credential/dto/*.java,
Copy link
Contributor

Choose a reason for hiding this comment

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

The classes are not needed by admin-client itself and IMO they rather should not be added as part of admin-client exposed to the users of the admin-client.

Is it perhaps possible to fork just the needed classes (PasswordCredentialData and PasswordSecretData) to the testsuite directly? It looks those are the only ones needed right? Hopefully it is fine as those are not changing so often. WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
Copy link
Contributor

@mposolda mposolda left a comment

Choose a reason for hiding this comment

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

@graziang Thanks!

@mposolda mposolda merged commit 9c38e31 into keycloak:main Sep 17, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move UserTest to keycloak-client repository
2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载