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][full-ci] Add test coverage for file preview using space dav version #7218

Merged
merged 2 commits into from
Sep 11, 2023

Conversation

amrita-shrestha
Copy link
Contributor

@amrita-shrestha amrita-shrestha commented Sep 5, 2023

Description

Previously there was test coverage for previewing resources using new wed-dav only. This PR has added tests coverage of preview using old and spaces wed-dav version in personal spaces.

This PR does not cover the test for previewing the resources using spaces dav version for shared resources. Previewing the shared resource requires the virtual shares id or mount point id and the method to get the id exits in SpacesContext file and to get them in WebDabHelper might require some refactoring. So, the previewing of the shared resource is implement in this follow up PR #7234

Related Issue

How Has This Been Tested?

  • Locally

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • 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:

@PrajwolAmatya PrajwolAmatya self-assigned this Sep 8, 2023
@sonarcloud
Copy link

sonarcloud bot commented Sep 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Member

@SagarGi SagarGi left a comment

Choose a reason for hiding this comment

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

LGTM 👍 if CI is happy

Copy link
Contributor

@SwikritiT SwikritiT left a comment

Choose a reason for hiding this comment

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

LGTM

@saw-jan saw-jan merged commit 9b40810 into stable-4.0 Sep 11, 2023
2 checks passed
@delete-merged-branch delete-merged-branch bot deleted the add-preview-tests-on-spaces-dav branch September 11, 2023 06:42
ownclouders pushed a commit that referenced this pull request Sep 11, 2023
…dav version (#7218)

* Add tests for preview using space dav~

* use makeDavRequest to get preview of resource

---------

Co-authored-by: prajwol <prajwolamatya11@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants