From 24d90a4bb19e8f4bf6644e6ab034153d5f57f25d Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 2 Sep 2016 13:29:30 +0200 Subject: Correctly remove the charset from finfo mimetype --- tests/lib/Files/Type/DetectionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lib') 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); } -- cgit v1.2.3