-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
More API test for file versions #31628
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few small comments, and 1 scenario failing.
And the downloaded content when downloading file "/sharingfolder/sharefile.txt" for user "user0" with range "bytes=0-12" should be "old content" | ||
|
||
Scenario: sharer restores the file inside a shared folder created by sharee and modified by sharee |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description here is the same as line 116.
Maybe it should say:
sharee restores the file inside a shared folder created by sharer and modified by sharer
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I forgot to modify the description
And the downloaded content when downloading file "/sharingfolder/sharefile.txt" for user "user1" with range "bytes=0-12" should be "old content" | ||
|
||
Scenario: sharer restores the file inside a shared folder modified by sharee |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This scenario fails.
And user "user0" has uploaded file with content "user0 content" to "/sharingfolder/sharefile.txt" | ||
And user "user1" has uploaded file with content "user1 content" to "/sharingfolder/sharefile.txt" | ||
And user "user2" has uploaded file with content "user2 content" to "/sharingfolder/sharefile.txt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
user2
has no access - maybe you meant to share the folder with the group?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah my fault, I wanted to share with the group
702a2a4
to
dc3da3f
Compare
Codecov Report
@@ Coverage Diff @@
## master #31628 +/- ##
=========================================
Coverage 62.87% 62.87%
Complexity 18409 18409
=========================================
Files 1151 1151
Lines 69114 69114
Branches 1260 1260
=========================================
Hits 43458 43458
Misses 25287 25287
Partials 369 369
Continue to review full report at Codecov.
|
There was a "docker daemon" silly error - I restarted drone CI. |
@paurakhsharma somehow the drone run that passed has not reported the good result back to GitHub. |
@ownclouders rebase |
dc3da3f
to
b554d3a
Compare
ownclouders seem to be asleep. I rebased locally and pushed. Let's see what happens to the next CI run. |
Hey! I'm GitMate.io! This pull request is being rebased automatically. Please DO NOT push while rebase is in progress or your changes would be lost permanently |
Automated rebase with GitMate.io was successful! 🎉 |
Oh, he (or she?) woke up and rebased also. Let's see. |
I am getting |
This was rebased directly on GitHub. So you need to pull from GitHub so that you get the commit here into your local git repo. |
Backport on #31675 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
This PR adds more tests for file versions which were missing in #31577
Related Issue
#31535
How Has This Been Tested?
Locally
Types of changes
Checklist: