diff options
author | Olivier Paroz <github@oparoz.com> | 2015-03-17 13:25:39 +0100 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-03-17 13:25:39 +0100 |
commit | bd91546db8b0f9e4a31dc983a4e18988353dc13a (patch) | |
tree | 914b340f0cdef12dc970b2096baf1afae2dcdf13 /tests | |
parent | 42560780177e74347c9e00200b64dd15f4f72449 (diff) | |
download | nextcloud-server-bd91546db8b0f9e4a31dc983a4e18988353dc13a.tar.gz nextcloud-server-bd91546db8b0f9e4a31dc983a4e18988353dc13a.zip |
Adding test cases where the extension is using capital letters
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/repair/repairmimetypes.php | 6 |
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'), ) ); } |