mediawiki-skins-Vector/tests/phpunit
Clare Ming 338e0e72ac Fix language alert regression
- Add test for SkinVector::shouldLanguageAlertBeInSidebar() method.
- Change some methods to protected status -- acknowledging this is not
an optimal change. Until we can pull out some of the language checks
into its own class with injected dependencies (title, feature manager,
languages), this is an interim solution to try to catch regressions
since the conditional states for showing the alert are complex and
ultimately temporary. Extracting the language checks into their own
class can be done in a follow up ticket to help optimize testing
language checks in isolation.

Bug: T302018
Change-Id: I99b7df3029e0af86e4d67b3f446d4ce99260d33e
2022-03-01 15:37:43 -07:00
..
integration Fix language alert regression 2022-03-01 15:37:43 -07:00
structure Move bundlesize test to MediaWikiIntegration test 2021-12-10 08:48:59 +01:00
unit/FeatureManagement Drop search related feature flags 2022-01-31 21:00:22 +00:00