summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-12-18 13:42:59 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2015-12-18 13:42:59 +0100
commit4f20e3bac0dec72ede10f947ee3d1125071d4564 (patch)
tree36c27fcc686d457f3f8cc3f34fce2a760b0ad525 /tests
parentb4a896c00ddfbd7c3965a4d9c9b723b6fe915103 (diff)
downloadnextcloud-server-4f20e3bac0dec72ede10f947ee3d1125071d4564.tar.gz
nextcloud-server-4f20e3bac0dec72ede10f947ee3d1125071d4564.zip
Removed deprecated OC_Helper::getSecureMimeType
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/helper.php12
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');