summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-03-19 17:22:25 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-03-19 17:22:25 +0100
commit2a8c3798a8e43e1215c476815c3f7fa79d5ba91f (patch)
treed865295178e95c9879a5d38b751ec5d79d371c5f /tests
parentc57fb6202970a21e6003b9ac1122562c97adc94f (diff)
parentbd91546db8b0f9e4a31dc983a4e18988353dc13a (diff)
downloadnextcloud-server-2a8c3798a8e43e1215c476815c3f7fa79d5ba91f.tar.gz
nextcloud-server-2a8c3798a8e43e1215c476815c3f7fa79d5ba91f.zip
Merge pull request #14947 from oparoz/repairmimetypes-sql
Make repairmimetypes compatible with case sensitive SQL backends
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/repair/repairmimetypes.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/lib/repair/repairmimetypes.php b/tests/lib/repair/repairmimetypes.php
index 839a4723ecd..f9f214370cc 100644
--- a/tests/lib/repair/repairmimetypes.php
+++ b/tests/lib/repair/repairmimetypes.php
@@ -192,7 +192,7 @@ class TestRepairMimeTypes extends \Test\TestCase {
}
/**
- * Test renaming the postscript mime types
+ * Test renaming the Raw mime types
*/
public function testRenameRawMimeType() {
$this->addEntries(
@@ -214,6 +214,7 @@ class TestRepairMimeTypes extends \Test\TestCase {
array('test.srf', 'application/octet-stream'),
array('test.sr2', 'application/octet-stream'),
array('test.xrf', 'application/octet-stream'),
+ array('CapitalExtension.DNG', 'application/octet-stream'),
)
);
@@ -242,6 +243,7 @@ class TestRepairMimeTypes extends \Test\TestCase {
array('test.srf', 'image/x-dcraw'),
array('test.sr2', 'image/x-dcraw'),
array('test.xrf', 'image/x-dcraw'),
+ array('CapitalExtension.DNG', 'image/x-dcraw'),
)
);
}
@@ -373,6 +375,7 @@ class TestRepairMimeTypes extends \Test\TestCase {
array('test.srf', 'image/x-dcraw'),
array('test.sr2', 'image/x-dcraw'),
array('test.xrf', 'image/x-dcraw'),
+ array('test.DNG', 'image/x-dcraw'),
)
);
@@ -413,6 +416,7 @@ class TestRepairMimeTypes extends \Test\TestCase {
array('test.srf', 'image/x-dcraw'),
array('test.sr2', 'image/x-dcraw'),
array('test.xrf', 'image/x-dcraw'),
+ array('test.DNG', 'image/x-dcraw'),
)
);
}