-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Tests-Only] Expand API tests for getUser, removeSubAdmin and resetUserPassword #38327
Conversation
tests/acceptance/features/apiProvisioning-v2/removeSubAdmin.feature
Outdated
Show resolved
Hide resolved
| subadmin | | ||
| another-subadmin | | ||
And group "brand-new-group" has been created | ||
And user "another-subadmin" has been made a subadmin of group "brand-new-group" |
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.
user 'another-subadmin' is not added to the group 'brand-new -group' so I suspect this step will fail, please review this
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 step passed in local run
We can make user subadmin of any group without adding him/her in that group.
(may be this behavior is a bug if the step is expected to fail)
tests/acceptance/features/apiProvisioning-v2/resetUserPassword.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiProvisioning-v2/removeSubAdmin.feature
Outdated
Show resolved
Hide resolved
064c5f5
to
6a18918
Compare
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.
Everything looks good but you have added tests in the middle of the file which messes up the line numbers of other existing tests. That may result in many failures in ocis, so please test this branch with ocis as well.
6a18918
to
e75558c
Compare
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
e75558c
to
8ddfc23
Compare
Kudos, SonarCloud Quality Gate passed! |
Description
expands apiProvisioning tests for ocs v1 and v2 in:
Related Issue
How Has This Been Tested?
Types of changes
Checklist: