ArticleTablesTest: Clarify test name and docs
authorChad Horohoe <chadh@wikimedia.org>
Thu, 4 Sep 2014 01:58:33 +0000 (18:58 -0700)
committerBryanDavis <bdavis@wikimedia.org>
Thu, 4 Sep 2014 22:29:03 +0000 (22:29 +0000)
Change-Id: I55778b7e41da520a248fba2cb46e2c42745c6519

tests/phpunit/includes/ArticleTablesTest.php

index 8e78da3..9f2b7a0 100644 (file)
@@ -4,13 +4,15 @@
  * @group Database
  */
 class ArticleTablesTest extends MediaWikiLangTestCase {
-
        /**
+        * Make sure that bug 14404 doesn't strike again. We don't want
+        * templatelinks based on the user language when {{int:}} is used, only the
+        * content language.
+        *
         * @covers Title::getTemplateLinksFrom
         * @covers Title::getLinksFrom
-        * @todo give this test a real name explaining what is being tested here
         */
-       public function testbug14404() {
+       public function testTemplatelinksUsesContentLanguage() {
                $title = Title::newFromText( 'Bug 14404' );
                $page = WikiPage::factory( $title );
                $user = new User();