mediawiki-skins-Vector/tests/phpunit/unit
Moh'd Khier Abualruz 173c91a0f5 Make Vector feature flags compatible with beta features
- Added Key 'beta' to features config in skin.json. As usual this also supported by global configs.
- Added feature management logic to check for beta feature enabled status and the user's selection of utilising the vector beta features.
- Added VECTOR_BETA_FEATURES to Constants.php which is an array that holds features names that would be enabled.
- Removed final from class declaration of OverridableConfigRequirement class, as it does interfere with the mocking in the current setup

Remaining Work:
- Missing images to be added in the hook to show in beta features under Special:Preferences -- this will be added in a followup

Bug: T347772
Change-Id: I7bf8284e328c66c019c392f57207cab21ce0d4f6
2023-10-19 18:22:57 +02:00
..
components VectorComponentTableOfContentsTest: Add mocks for Message:: escaped() and rawParams() 2023-09-28 20:30:48 -04:00
FeatureManagement Make Vector feature flags compatible with beta features 2023-10-19 18:22:57 +02:00
SkinVector22Test.php tests: Make PHPUnit data providers static 2023-05-20 11:11:30 +02:00