-
Notifications
You must be signed in to change notification settings - Fork 196
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
no enable/disable user provisioning API endpoint #1420
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions. |
@individual-it @phil-davis Could you please have a look at
How can they pass, if we don't have the enable / disable user provisioning API endpoint? Context: we had a PR with some changes which triggered these two tests to fail and therefore I looked at them. |
Note: apiProvisioning-v1/disableUser.feature:257 and I will look at why they were passing previously... |
The test happens to be in pipeline
|
But how can |
A test is supposed to check the evidence about whether the In this case the test is a "negative" test. On oC10, when a user is disabled, any public shares made by the user still work. (Whether that should be the case or not is a product requirement decision - but that is what happens now). So the test is confirming that if the user is disabled, then "nothing happens" to the public shares. The test scenario should really have more That will make it fail earlier, when it discovers that the "disable" API call failed. The difference in failure at the moment is some artifact of which old and new public WebDAV API are working. I will adjust core tests (and have a look at other core tests that do not have enough |
See owncloud/core#39512 for details of refactoring of tests - that is a separate issue to this one. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions. |
@phil-davis can we close this, since owncloud/core#39612 is merged? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions. |
The enable/disable user tests still fails. I guess that the feature has not yet been implemented? |
Now we do user-related operations through |
I would suggest to make sure no tests in ocis rely on enable/disable users by the provisioning API and delete all tests that try to test those things (if any) @micbar do you agree? |
We can enable/disable users via graph now. IMO there is just a config missing in the default product. |
It should work with the default configuration (just checked that). @individual-it @SwikritiT Which exact test is this failing? |
No tests are failing as per my knowledge, we also don't have this issue linked to the expected-to-fail file. But still, sometimes tests get linked to some other issues. This issue specifically is for ocs provisioning API but as we are using graph API for this operation we can close this issue. But like @individual-it mentioned we need to check that there aren't any tests that rely on provisioning API to do this and remove them if there are. |
Enable/Disable users is implemented in the graph API. And AFAIK all tests are now using that. |
just to track it in the tests
The text was updated successfully, but these errors were encountered: