aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-08 09:19:33 +0200
committerGitHub <noreply@github.com>2016-09-08 09:19:33 +0200
commitcdfe538452b709dd181ac11fcfca72a5221c79ad (patch)
treec99d33fd3c0d735af0fbc98868b2911a05a738a4 /tests
parentb992bf21426cd23428b56d00b67ce100bf0da4be (diff)
parent2d61ee3c13cda96c0cd4401b78bd27a586c374a9 (diff)
downloadnextcloud-server-cdfe538452b709dd181ac11fcfca72a5221c79ad.tar.gz
nextcloud-server-cdfe538452b709dd181ac11fcfca72a5221c79ad.zip
Merge pull request #1243 from nextcloud/fix-detection-of-file-types-a-bit
Fix detection of file types a bit
Diffstat (limited to 'tests')
-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);
}