Page MenuHomePhabricator

Add test for ParserOptions:optionsHash that covers case when language has variants
Closed, ResolvedPublic1 Estimated Story Points

Description

Motivation:

ParserOptionsTest::testOptionsHash doesn't have a test case with variants yet.
https://doc.wikimedia.org/cover/mediawiki-core/includes/parser/ParserOptions.php.html

Screenshot 2020-01-27 at 12.22.42.png (66×1 px, 24 KB)

Screenshot 2020-01-27 at 12.22.56.png (392×1 px, 74 KB)

Expected result:

  • More tests should be added.
  • Specific tests that covers ParserOptions::optionsHash should be added
  • Specific test that covers ParserOptions::optionsHash for language with variants should be added

Event Timeline

Peter.ovchyn renamed this task from Add test for ParserOptionsTest:optionsHash that covers case when language has variants to Add test for ParserOptions:optionsHash that covers case when language has variants.Apr 16 2020, 9:53 AM