Skip to content

[tests-only] test trashbin with multi level folders - #38225

Merged
individual-it merged 1 commit into
masterfrom
trashbinTestMultiLevelFolders
Dec 17, 2020
Merged

individual-it merged 1 commit into
masterfrom
trashbinTestMultiLevelFolders

Conversation

@individual-it

Copy link
Copy Markdown
Member

Description

test in trashbin API works correctly with multi level folders and its content

Related Issue

noticed that we need more tests in owncloud/ocis#1077

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

@phil-davis phil-davis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM - you decide if you want to run CI all over again just to change a Then to And

And user "Alice" has moved file "/textfile0.txt" to "/new-folder/new-file.txt"
When user "Alice" deletes folder "/new-folder/" using the WebDAV API
Then as "Alice" the file with original path "/new-folder/new-file.txt" should exist in the trashbin
Then as "Alice" the folder with original path "/new-folder/" should exist in the trashbin

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
Then as "Alice" the folder with original path "/new-folder/" should exist in the trashbin
And as "Alice" the folder with original path "/new-folder/" should exist in the trashbin

@sonarqubecloud

Copy link
Copy Markdown

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

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