Browse Source

removed redundant whitespace

tags/2.0.0-beta
lubosdz 11 years ago
parent
commit
612d3ed27d
  1. 2
      tests/unit/framework/helpers/FileHelperTest.php

2
tests/unit/framework/helpers/FileHelperTest.php

@ -348,7 +348,7 @@ class FileHelperTest extends TestCase
$file = $this->testFilePath . DIRECTORY_SEPARATOR . 'mime_type_test.txt';
file_put_contents($file, 'some text');
$this->assertEquals('text/plain', FileHelper::getMimeType($file));
// see http://stackoverflow.com/questions/477816/what-is-the-correct-json-content-type
// JSON/JSONP should not use text/plain - see http://jibbering.com/blog/?p=514
// with "fileinfo" extension enabled, returned MIME is not quite correctly "text/plain"

Loading…
Cancel
Save