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

Test fails: Given this user has been created using the occ command #37850

Closed
phil-davis opened this issue Aug 26, 2020 · 0 comments · Fixed by #37851
Closed

Test fails: Given this user has been created using the occ command #37850

phil-davis opened this issue Aug 26, 2020 · 0 comments · Fixed by #37851

Comments

@phil-davis
Copy link
Contributor

If the user has a mixed-case username, e.g. https://drone.owncloud.com/owncloud/user_ldap/2718/48/11

  Background:                                                    # /var/www/owncloud/testrunner/apps/user_ldap/tests/acceptance/features/cliProvisioning/groups.feature:7
    Given the administrator has invoked occ command "group:list" # OccContext::theAdministratorHasInvokedOccCommand()
    And this user has been created using the occ command:        # OccUsersGroupsContext::theseUsersHaveBeenCreatedUsingTheOccCommand()
      | username | displayname  |
      | Alice    | Alice Hansen |
      User: /var/www/owncloud/server/Alice was not created
      Failed asserting that false is true.

And the message User: /var/www/owncloud/server/Alice was not created is also strange - it should just say User: Alice was not created

The relevant code was added yesterday in #37839

Actually it could be made much simpler...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant