-
Notifications
You must be signed in to change notification settings - Fork 186
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
Prevent duplicate accounts #587
Conversation
apiProvisioning-v2/addUser.feature:32 starts passing - that is great. That scenario purposely tries to create an existing user, and now the expected status 400 is returned. apiProvisioning-v2/addUser.feature:102 - similar, that scenario tries to create the user again, with a different case username. That also now returns the expected 400 status. So those can be removed from the expected-failures files in this PR. |
But other tests are now failing. I suspect that is because:
The test code creates But then the afterScenario tries to delete user But to make the test suite more forgiving there, I should fix that up so that the test suite remember correctly the exact user that was first created. |
10cd37a
to
0ec3cd7
Compare
@phil-davis how much effort would it be to - like you mentioned - make the test suite more forgiving? I think playing around with username vs userid replacements and generating an internal id (see owncloud/ocis-ocs#64) might create followup issues... |
core PR owncloud/core#37917 - the test code will be as nice as it ccan be in the |
@kulmann ocis accounts on master branch is broken. Steps to reproduce:
Expected
Actual
|
Superseded by #665 |
No description provided.