aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/DirectEditing
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-11-26 13:07:15 +0100
committerJulius Härtl <jus@bitgrid.net>2019-11-27 19:56:44 +0100
commit329e8c2604a35bded6afac75b59f611002d6db5e (patch)
tree3d8db1ff09c786554d2d19e122a9811fe7b38f13 /tests/lib/DirectEditing
parent9a2694fcb0093afee13d0cd91de15b34b747cc62 (diff)
downloadnextcloud-server-329e8c2604a35bded6afac75b59f611002d6db5e.tar.gz
nextcloud-server-329e8c2604a35bded6afac75b59f611002d6db5e.zip
Add mimetype to creators
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests/lib/DirectEditing')
-rw-r--r--tests/lib/DirectEditing/ManagerTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/DirectEditing/ManagerTest.php b/tests/lib/DirectEditing/ManagerTest.php
index a3d29efbce5..9a56c3307e0 100644
--- a/tests/lib/DirectEditing/ManagerTest.php
+++ b/tests/lib/DirectEditing/ManagerTest.php
@@ -31,6 +31,10 @@ class CreateEmpty extends ACreateEmpty {
public function getExtension(): string {
return '.txt';
}
+
+ public function getMimetype(): string {
+ return 'text/plain';
+ }
}
class Editor implements IEditor {