From effb7dc8ba00c683e3b6717eaf1f358ce1c69b87 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 15 Apr 2021 17:14:57 +0200 Subject: set mimetype for objects uploaded to object storages Signed-off-by: Robin Appelman --- tests/lib/Files/ObjectStore/S3Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lib/Files/ObjectStore/S3Test.php') diff --git a/tests/lib/Files/ObjectStore/S3Test.php b/tests/lib/Files/ObjectStore/S3Test.php index c1e7948e3c4..97814212382 100644 --- a/tests/lib/Files/ObjectStore/S3Test.php +++ b/tests/lib/Files/ObjectStore/S3Test.php @@ -25,7 +25,7 @@ use Icewind\Streams\Wrapper; use OC\Files\ObjectStore\S3; class MultiPartUploadS3 extends S3 { - public function writeObject($urn, $stream) { + public function writeObject($urn, $stream, string $mimetype = null) { $this->getConnection()->upload($this->bucket, $urn, $stream, 'private', [ 'mup_threshold' => 1, ]); -- cgit v1.2.3