Page MenuHomePhabricator

Add tests for DefaultPreferencesFactory::profilePreferences
Open, Needs TriagePublic

Description

Motivation:

DefaultPreferencesFactoryTest doesn't seem to test for variants.
https://doc.wikimedia.org/cover/mediawiki-core/includes/preferences/DefaultPreferencesFactory.php.html

DefaultPreferencesFactory::profilePreferences doesn't have specific tests.


Expected result:

  • More tests should be added.
  • Specific case that covers DefaultPreferencesFactory::profilePreferences should be added
  • Specific case that covers DefaultPreferencesFactory::profilePreferences for language with variants should be added