summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-02 13:29:30 +0200
committerJoas Schilling <coding@schilljs.com>2016-09-05 09:48:22 +0200
commit24d90a4bb19e8f4bf6644e6ab034153d5f57f25d (patch)
tree5995eb14f9e3e947860efc57885c30912e62f521 /tests/lib
parent8b484eedf029b8e1a9dcef0efb09db381888c4b0 (diff)
downloadnextcloud-server-24d90a4bb19e8f4bf6644e6ab034153d5f57f25d.tar.gz
nextcloud-server-24d90a4bb19e8f4bf6644e6ab034153d5f57f25d.zip
Correctly remove the charset from finfo mimetype
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/Files/Type/DetectionTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/Type/DetectionTest.php b/tests/lib/Files/Type/DetectionTest.php
index 7b9dc1b3e4d..11267ee2e7d 100644
--- a/tests/lib/Files/Type/DetectionTest.php
+++ b/tests/lib/Files/Type/DetectionTest.php
@@ -81,7 +81,7 @@ class DetectionTest extends \Test\TestCase {
public function testDetectString() {
$result = $this->detection->detectString("/data/data.tar.gz");
- $expected = 'text/plain; charset=us-ascii';
+ $expected = 'text/plain';
$this->assertEquals($expected, $result);
}