From: Chad Horohoe Date: Thu, 4 Sep 2014 01:58:33 +0000 (-0700) Subject: ArticleTablesTest: Clarify test name and docs X-Git-Tag: 1.31.0-rc.0~14159 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=5337bb00f999f951b63079bea84873a43c2eea9c;p=lhc%2Fweb%2Fwiklou.git ArticleTablesTest: Clarify test name and docs Change-Id: I55778b7e41da520a248fba2cb46e2c42745c6519 --- diff --git a/tests/phpunit/includes/ArticleTablesTest.php b/tests/phpunit/includes/ArticleTablesTest.php index 8e78da34e5..9f2b7a0534 100644 --- a/tests/phpunit/includes/ArticleTablesTest.php +++ b/tests/phpunit/includes/ArticleTablesTest.php @@ -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();