Page MenuHomePhabricator

Add tests for class Title, increase coverage to 75%
Closed, DuplicatePublic

Description

Motivation:

Test coverage for Title is severely lacking (34.76%).
https://doc.wikimedia.org/cover/mediawiki-core/includes/Title.php.html

Expected result:

  • More tests should be added.
  • class Title should be covered at least 75%
  • Title::getPageViewLanguage should be covered 100%
  • Title::getCdnUrls should be covered 100%
  • Title:: getLocalURL should be covered 100%