mediawiki-skins-Vector/tests/phpunit/integration
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
..
HTMLForm/Fields HTMLLegacySkinVersionFieldTest: Adjust tests to closer to real situation 2022-02-08 09:34:49 +00:00
SkinVectorTest.php Fix language alert regression 2022-03-01 15:37:43 -07:00
SkinVersionLookupTest.php Fix bug in SkinVersionLookup 2022-01-24 13:34:06 -08:00
VectorHooksTest.php Migration mode is now the default 2022-02-07 22:20:16 +00:00