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

[Tests-only] for files_external:list with applicable users and groups and --short #36837

Merged
merged 1 commit into from
Jan 28, 2020

Conversation

phil-davis
Copy link
Contributor

Description

Add scenarios to test:

  • files_external:list with local storage having "applicable users" and "applicable groups"
  • files_external:list --short

Related Issue

Part of #36704

How Has This Been Tested?

Local run of new test scenarios + CI

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@phil-davis
Copy link
Contributor Author

Also I raised issue #36838 to discuss the "unexpected" output of files_external:list --short
Not sure if it is a bug or a feature.

| localStorage |
| local_storage2 |
| new_local_storage |
Then the following local storage should be listed:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I deleted the first scenario, because actually the 2nd scenario did the same thing anyway (with more output checking), and I did not see the value of the time spent to run the first scenario.

@phil-davis phil-davis force-pushed the list-storage-applicable-groups-users branch from 45d24b7 to 330d667 Compare January 28, 2020 07:05
@codecov
Copy link

codecov bot commented Jan 28, 2020

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #36837   +/-   ##
=========================================
  Coverage     64.69%   64.69%           
  Complexity    19114    19114           
=========================================
  Files          1269     1269           
  Lines         74807    74807           
  Branches       1327     1327           
=========================================
  Hits          48394    48394           
  Misses        26022    26022           
  Partials        391      391
Flag Coverage Δ Complexity Δ
#javascript 54.09% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 65.86% <ø> (ø) 19114 <ø> (ø) ⬇️

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 f1e24b4...330d667. Read the comment docs.

@individual-it individual-it merged commit 4021d4a into master Jan 28, 2020
@delete-merged-branch delete-merged-branch bot deleted the list-storage-applicable-groups-users branch January 28, 2020 08:08
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.

2 participants