List of steps to reproduce:
- Install MinervaNeue skin which defines its BundleSizeTest.php and bundlesize.config.json
- Install a larger skin than Minerva and set it to the default skin.
- Run PHPUnit.
What happens?:
BundleSizeTest.php tests with MediaWikiServices::getInstance()->getMainConfig()->get( 'DefaultSkin' ) skin,
so if the default skin is larger then the target of the test, there is failures: (full log)
1) MediaWiki\Skins\MinervaNeue\Tests\Structure\BundleSizeTest::testBundleSize skins.minerva.mainMenu.icons is less than 409.6 Failed asserting that 410 is less than 409.60000000000002. /workspace/src/tests/phpunit/structure/BundleSizeTest.php:59 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:467
What should have happened instead?:
There should be no failure.
Software version:
MediaWiki: 1.39 a01dbf1e075f10594729b4ffe927293915344cd6
MinervaNeue: 916e8bc9c1b47eb09f8d032dd5a2e18e3b0ddec2