Skip to content
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

Do not try to add an existing user again in acceptance tests #25990

Merged

Conversation

danxuliu
Copy link
Member

@danxuliu danxuliu commented Mar 7, 2021

User "user1" is added when installing and configuring the server, so it is already added in all tests. As the test verifies that just added users can be searched in the contacts menu a new user should be actually added.

Note that this is independent from the changes in #25975 (although the adjusted tests should be more robust once #25975 is merged).

User "user1" is added when installing and configuring the server, so it
is already added in all tests. As the test verifies that just added
users can be searched in the contacts menu a new user should be actually
added.

The test did not fail because it assumed that "user1" did not exist and
just checked that it existed after "adding" it, but not whether adding
it failed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
User "user1" is added when installing and configuring the server, so it
is already added in all tests.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@danxuliu danxuliu added the 3. to review Waiting for reviews label Mar 7, 2021
@danxuliu danxuliu added this to the Nextcloud 22 milestone Mar 7, 2021
@kesselb kesselb merged commit 2ddf3c9 into master Mar 8, 2021
@kesselb kesselb deleted the do-not-try-to-add-an-existing-user-again-in-acceptance-tests branch March 8, 2021 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants