aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-09-21 14:47:14 +0200
committerRobin Appelman <robin@icewind.nl>2017-09-21 14:47:34 +0200
commit385d6f098c1466608d1a87312b208bbf22abeb0d (patch)
treea708ad2ba4ecd267b2078dc4822dbfc71d31a777 /lib/private
parent4ae46d887626630b675d132db3587d06de08d35d (diff)
downloadnextcloud-server-385d6f098c1466608d1a87312b208bbf22abeb0d.tar.gz
nextcloud-server-385d6f098c1466608d1a87312b208bbf22abeb0d.zip
Add tests for multipart upload
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Files/ObjectStore/S3ObjectTrait.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/ObjectStore/S3ObjectTrait.php b/lib/private/Files/ObjectStore/S3ObjectTrait.php
index 6527614e8d5..93204896c1c 100644
--- a/lib/private/Files/ObjectStore/S3ObjectTrait.php
+++ b/lib/private/Files/ObjectStore/S3ObjectTrait.php
@@ -74,7 +74,7 @@ trait S3ObjectTrait {
}
- private function singlePartUpload($urn, $stream) {
+ protected function singlePartUpload($urn, $stream) {
$this->getConnection()->putObject([
'Bucket' => $this->bucket,
'Key' => $urn,
@@ -82,7 +82,7 @@ trait S3ObjectTrait {
]);
}
- private function multiPartUpload($urn, $stream) {
+ protected function multiPartUpload($urn, $stream) {
$uploader = new MultipartUploader($this->getConnection(), $stream, [
'bucket' => $this->bucket,
'key' => $urn,