-
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
[tests-only]TUS tests for chunking with checksum #38471
Conversation
540fc49
to
33da250
Compare
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.
LGTM
86bd9ee
to
c1aa12c
Compare
please make sure commit id and expected to fail files are updated in ocis and cs3org/reva |
Kudos, SonarCloud Quality Gate passed! |
@@ -161,6 +163,13 @@ public function userUploadsUsingTusAFileTo( | |||
]; | |||
$headers = \array_merge($headers, $creationWithUploadHeader); | |||
} | |||
if ($checksum != '') { |
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.
if ($checksum != '') { | |
if (!$checksum) { |
@@ -147,7 +148,8 @@ public function userUploadsUsingTusAFileTo( | |||
string $destination, | |||
array $uploadMetadata = [], | |||
int $noOfChunks = 1, | |||
int $bytes = null | |||
int $bytes = null, | |||
string $checksum = '' |
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.
string $checksum = '' | |
string $checksum = null |
Description
This PR adds test for TUS chunking with checksum.
Related Issue
How Has This Been Tested?
Types of changes
Checklist: