FileInfoSampler returns application/x-xz, but CI fails tests
aedart opened this issue · 0 comments
aedart commented
Description
It appears that from PHP 8.1.22
, the correct MINE-type is returned for *.xz
files, yet the CI fails tests.
Version & Environment
PHP 8.1.22
and beyond.
Steps to reproduce
Run codecept run -g file-info-sampler --debug
using at least PHP 8.1.22
.
Expected behaviour
The test should accept the correct MIME-Type as expected result.
Possible solution
Change min. required PHP version for Athenaeum, and remove special condition in \Aedart\Tests\TestCases\MimeTypes\MimeTypesTestCase::testFiles()
method.