Page MenuHomePhabricator

Add tests for ContentHandler::getPageViewLanguage
Open, Needs TriagePublic

Description

Motivation:

At a glance, it seems like ContentHandlerTest doesn't cover the method ContentHandler::getPageViewLanguage.
https://doc.wikimedia.org/cover/mediawiki-core/includes/content/ContentHandler.php.html

Expected result:

  • More tests should be added.
  • ContentHandler::getPageViewLanguage should be covered 100%

Details

Related Gerrit Patches:

Event Timeline

Restricted Application removed a project: Patch-For-Review. · View Herald TranscriptJan 27 2020, 9:44 AM
Peter.ovchyn removed Peter.ovchyn as the assignee of this task.Feb 12 2020, 10:03 AM

Change 583297 had a related patch set uploaded (by Peter.ovchyn; owner: Peter.ovchyn):
[mediawiki/core@master] Add tests for ContentHandler::getPageViewLanguage

https://gerrit.wikimedia.org/r/583297