From 5337bb00f999f951b63079bea84873a43c2eea9c Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 3 Sep 2014 18:58:33 -0700 Subject: [PATCH] ArticleTablesTest: Clarify test name and docs Change-Id: I55778b7e41da520a248fba2cb46e2c42745c6519 --- tests/phpunit/includes/ArticleTablesTest.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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(); -- 2.20.1