Adding test cases where the extension is using capital letters

This commit is contained in:
Olivier Paroz 2015-03-17 13:25:39 +01:00
parent 4256078017
commit bd91546db8
1 changed files with 5 additions and 1 deletions

View File

@ -192,7 +192,7 @@ class TestRepairMimeTypes extends \Test\TestCase {
} }
/** /**
* Test renaming the postscript mime types * Test renaming the Raw mime types
*/ */
public function testRenameRawMimeType() { public function testRenameRawMimeType() {
$this->addEntries( $this->addEntries(
@ -214,6 +214,7 @@ class TestRepairMimeTypes extends \Test\TestCase {
array('test.srf', 'application/octet-stream'), array('test.srf', 'application/octet-stream'),
array('test.sr2', 'application/octet-stream'), array('test.sr2', 'application/octet-stream'),
array('test.xrf', '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.srf', 'image/x-dcraw'),
array('test.sr2', 'image/x-dcraw'), array('test.sr2', 'image/x-dcraw'),
array('test.xrf', '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.srf', 'image/x-dcraw'),
array('test.sr2', 'image/x-dcraw'), array('test.sr2', 'image/x-dcraw'),
array('test.xrf', '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.srf', 'image/x-dcraw'),
array('test.sr2', 'image/x-dcraw'), array('test.sr2', 'image/x-dcraw'),
array('test.xrf', 'image/x-dcraw'), array('test.xrf', 'image/x-dcraw'),
array('test.DNG', 'image/x-dcraw'),
) )
); );
} }