diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-18 13:43:44 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-18 13:43:44 +0100 |
commit | a54be132fca86ceb6d6bb87368f55937f41e94a2 (patch) | |
tree | 5ce3716e03348f3f9ed3a0238b39a1bb40fc6d3e /tests/lib/helper.php | |
parent | 4f20e3bac0dec72ede10f947ee3d1125071d4564 (diff) | |
download | nextcloud-server-a54be132fca86ceb6d6bb87368f55937f41e94a2.tar.gz nextcloud-server-a54be132fca86ceb6d6bb87368f55937f41e94a2.zip |
Removed deprecated unsused function OC_Helper::getStringMimeType
Diffstat (limited to 'tests/lib/helper.php')
-rw-r--r-- | tests/lib/helper.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/lib/helper.php b/tests/lib/helper.php index 576209df06b..114354c7936 100644 --- a/tests/lib/helper.php +++ b/tests/lib/helper.php @@ -71,16 +71,6 @@ class Test_Helper extends \Test\TestCase { ]; } - function testGetStringMimeType() { - if (\OC_Util::runningOnWindows()) { - $this->markTestSkipped('[Windows] Strings have mimetype application/octet-stream on Windows'); - } - - $result = OC_Helper::getStringMimeType("/data/data.tar.gz"); - $expected = 'text/plain; charset=us-ascii'; - $this->assertEquals($result, $expected); - } - function testIsSubDirectory() { $result = OC_Helper::isSubDirectory("./data/", "/anotherDirectory/"); $this->assertFalse($result); |