diff options
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/helper.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/lib/helper.php b/tests/lib/helper.php index 469ffecc773..51f7342f456 100644 --- a/tests/lib/helper.php +++ b/tests/lib/helper.php @@ -83,15 +83,6 @@ class Test_Helper extends \Test\TestCase { $this->assertEquals($result, $expected); } - function testGetFileNameMimeType() { - $this->assertEquals('text/plain', OC_Helper::getFileNameMimeType('foo.txt')); - $this->assertEquals('image/png', OC_Helper::getFileNameMimeType('foo.png')); - $this->assertEquals('image/png', OC_Helper::getFileNameMimeType('foo.bar.png')); - $this->assertEquals('application/octet-stream', OC_Helper::getFileNameMimeType('.png')); - $this->assertEquals('application/octet-stream', OC_Helper::getFileNameMimeType('foo')); - $this->assertEquals('application/octet-stream', OC_Helper::getFileNameMimeType('')); - } - function testGetStringMimeType() { if (\OC_Util::runningOnWindows()) { $this->markTestSkipped('[Windows] Strings have mimetype application/octet-stream on Windows'); |