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] Add acceptance tests for resharing deleted file #38490

Merged
merged 1 commit into from
Mar 15, 2021

Conversation

dpakach
Copy link
Contributor

@dpakach dpakach commented Mar 11, 2021

Description

Add acceptance tests for resharing a deleted file.

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

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

Comment on lines 219 to 221
| ocs_api_version | ocs_status_code | http_status_code |
| 1 | 100 | 200 |
| 2 | 200 | 200 |
Copy link
Contributor

Choose a reason for hiding this comment

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

since the HTTP status code is 200 in both examples, you do not need to keep it in the example table.

@dpakach dpakach force-pushed the test-reshare-deleted branch from 4940620 to e218665 Compare March 11, 2021 04:41
@dpakach dpakach requested a review from Talank March 11, 2021 04:43
Copy link
Member

@individual-it individual-it left a comment

Choose a reason for hiding this comment

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

is the bug described in owncloud/ocis#1787 also reproducible with files?
@kulmann mentioning sharing of folders.
maybe we could add also a test with sharing a folder

@dpakach dpakach force-pushed the test-reshare-deleted branch from e218665 to e5db707 Compare March 12, 2021 07:55
@dpakach dpakach requested review from individual-it and Talank March 12, 2021 07:55
@dpakach dpakach force-pushed the test-reshare-deleted branch from e5db707 to 76718fc Compare March 12, 2021 10:44
@sonarqubecloud
Copy link

Kudos, SonarCloud 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

@individual-it individual-it merged commit b72f922 into master Mar 15, 2021
@delete-merged-branch delete-merged-branch bot deleted the test-reshare-deleted branch March 15, 2021 05:16
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.

3 participants