https://bugzilla.wikimedia.org/show_bug.cgi?id=55543
Web browser: ---
Bug ID: 55543
Summary: Upload test for file with no extension failing under
hhvm
Product: MediaWiki
Version: 1.22-git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Uploading
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Blocks: 40926
Classification: Unclassified
Mobile Platform: ---
We're getting FILETYPE_BADTYPE when we should be getting FILETYPE_MISSING.
$ hhvm phpunit.php includes/upload/UploadBaseTest.php
PHPUnit 3.7.23 by Sebastian Bergmann.
Configuration read from /www/mediawiki/core/tests/phpunit/suite.xml
.....F......
Time: 194 ms, Memory: 11.67Mb
There was 1 failure:
1) UploadBaseTest::testTitleValidation with data set #5 ('A', NULL, 8, 'upload
title without extension')
upload title without extension code
Failed asserting that 9 matches expected 8.
/www/mediawiki/core/tests/phpunit/includes/upload/UploadBaseTest.php:38
/www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116
/www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80
/www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l