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

Tell groupMembership auto-complete test about the groups that exist #249

Merged
merged 1 commit into from
Jun 14, 2018

Conversation

phil-davis
Copy link
Contributor

@phil-davis phil-davis commented Jun 13, 2018

The user_ldap acceptance tests actually have a fixed list of users and groups that exist at the start of each scenario. But if a test scenario depends on understanding the particular mix of names that exist (e.g. auto-complete) then it needs to know about the relevant users and groups that exist.

In core, I enhanced the auto-complete checks so they would complain if more entries are in the auto-complete list than expected. As a result, the test scenario here needs to know the group names that exist so it can decide what names should be in the auto-complete matches.

@phil-davis phil-davis force-pushed the fix-acceptance-tests-groupMembership branch from 98c8544 to 3e84750 Compare June 13, 2018 12:56
@codecov-io
Copy link

codecov-io commented Jun 13, 2018

Codecov Report

Merging #249 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #249   +/-   ##
=========================================
  Coverage     34.88%   34.88%           
  Complexity     1358     1358           
=========================================
  Files            32       32           
  Lines          3927     3927           
=========================================
  Hits           1370     1370           
  Misses         2557     2557

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5761097...3e84750. Read the comment docs.

@phil-davis
Copy link
Contributor Author

@individual-it @DeepDiver1975 @PVince81 this fixes the acceptance test fails for the acceptance tests inside user-ldap
The other fails when running the core tests will be fixed by core PR owncloud/core#31750 and backport owncloud/core#31751

@phil-davis
Copy link
Contributor Author

Needs core changes to come in the overnight build. Then I will rerun CI here, and it should pass.

@phil-davis phil-davis merged commit 5a53c56 into master Jun 14, 2018
@phil-davis phil-davis deleted the fix-acceptance-tests-groupMembership branch June 14, 2018 01:47
@phil-davis
Copy link
Contributor Author

All good in the LDAP testing world.

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

Successfully merging this pull request may close these issues.

4 participants