diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-18 13:42:59 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-18 13:42:59 +0100 |
commit | 4f20e3bac0dec72ede10f947ee3d1125071d4564 (patch) | |
tree | 36c27fcc686d457f3f8cc3f34fce2a760b0ad525 /tests | |
parent | b4a896c00ddfbd7c3965a4d9c9b723b6fe915103 (diff) | |
download | nextcloud-server-4f20e3bac0dec72ede10f947ee3d1125071d4564.tar.gz nextcloud-server-4f20e3bac0dec72ede10f947ee3d1125071d4564.zip |
Removed deprecated OC_Helper::getSecureMimeType
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/helper.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/lib/helper.php b/tests/lib/helper.php index 9ad3af3d60c..576209df06b 100644 --- a/tests/lib/helper.php +++ b/tests/lib/helper.php @@ -71,18 +71,6 @@ class Test_Helper extends \Test\TestCase { ]; } - function testGetSecureMimeType() { - $dir=OC::$SERVERROOT.'/tests/data'; - - $result = OC_Helper::getSecureMimeType('image/svg+xml'); - $expected = 'text/plain'; - $this->assertEquals($result, $expected); - - $result = OC_Helper::getSecureMimeType('image/png'); - $expected = 'image/png'; - $this->assertEquals($result, $expected); - } - function testGetStringMimeType() { if (\OC_Util::runningOnWindows()) { $this->markTestSkipped('[Windows] Strings have mimetype application/octet-stream on Windows'); |