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/FailWriteObjectStore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lib/Files/ObjectStore/FailWriteObjectStore.php') diff --git a/tests/lib/Files/ObjectStore/FailWriteObjectStore.php b/tests/lib/Files/ObjectStore/FailWriteObjectStore.php index b9c8751fda3..559d004cd0c 100644 --- a/tests/lib/Files/ObjectStore/FailWriteObjectStore.php +++ b/tests/lib/Files/ObjectStore/FailWriteObjectStore.php @@ -40,7 +40,7 @@ class FailWriteObjectStore implements IObjectStore { return $this->objectStore->readObject($urn); } - public function writeObject($urn, $stream) { + public function writeObject($urn, $stream, string $mimetype = null) { // emulate a failed write that didn't throw an error return true; } -- cgit v1.2.3