Closed PawelSuwinski closed 2 years ago
Done.
Test case before fix:
# vendor/bin/phpunit vendor/silverstripe/assets/tests/php/FileNameFilterTest.php --filter Empty
(...)
There was 1 failure:
1) SilverStripe\Assets\Tests\FileNameFilterTest::testFilterWithEmptyString with data set #1 ('新しいファイル.jpg')
Failed asserting that 'jpg' ends with ".jpg".
/var/www/portal-app/portal/vendor/silverstripe/assets/tests/php/FileNameFilterTest.php:74
/var/www/portal-app/portal/vendor/sminnee/phpunit/phpunit:51
FAILURES!
Tests: 2, Assertions: 5, Failures: 1.
After fix:
# vendor/bin/phpunit vendor/silverstripe/assets/tests/php/FileNameFilterTest.php --filter Empty
(...)
OK (2 tests, 6 assertions)
There are some linting errors which need to be fixed :)
There are some linting errors which need to be fixed :)
Fixed
Fixes silverstripe/silverstripe-assets#494