Browse Source

Merge pull request #2980 from lubosdz/master

removed redundant whitespace, related to issue #2978
tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
9cf3e141b0
  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