diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2023-01-20 11:43:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 11:43:24 +0100 |
commit | 37bb33c5799b834dfef3fb73936bd0e5a4773fb8 (patch) | |
tree | 0c7dd249075d8bb435589481b1e671e0a3fdbc54 /tests/lib | |
parent | fce87f8ddb2d523a503051362a66b7453bc2329b (diff) | |
parent | f32d18d4ea371dbf2ec04c254f91abfd0fa3f4b9 (diff) | |
download | nextcloud-server-37bb33c5799b834dfef3fb73936bd0e5a4773fb8.tar.gz nextcloud-server-37bb33c5799b834dfef3fb73936bd0e5a4773fb8.zip |
Merge pull request #34997 from nextcloud/fix/drop-php-7.4
Drop PHP 7.4 on master
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/Files/Type/DetectionTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Files/Type/DetectionTest.php b/tests/lib/Files/Type/DetectionTest.php index 568dbb0cf56..079117f5622 100644 --- a/tests/lib/Files/Type/DetectionTest.php +++ b/tests/lib/Files/Type/DetectionTest.php @@ -71,7 +71,7 @@ class DetectionTest extends \Test\TestCase { public function dataDetectContent(): array { return [ ['/', 'httpd/unix-directory'], - // ['/data.tar.gz', 'application/x-gzip'], TODO: fix as it fails hard on php7.4 now + ['/data.tar.gz', 'application/gzip'], ['/data.zip', 'application/zip'], ['/testimage.mp3', 'audio/mpeg'], ['/testimage.png', 'image/png'], @@ -91,7 +91,7 @@ class DetectionTest extends \Test\TestCase { public function dataDetect(): array { return [ ['/', 'httpd/unix-directory'], - ['/data.tar.gz', 'application/x-gzip'], + ['/data.tar.gz', 'application/gzip'], ['/data.zip', 'application/zip'], ['/testimagelarge.svg', 'image/svg+xml'], ['/testimage.png', 'image/png'], |