From 71eea5047ae001f2b6662680bd5ec1896b1295fd Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 13 May 2011 09:30:19 +0000 Subject: [PATCH] Follow-up r87955: fix comment --- tests/phpunit/includes/search/SearchEngineTest.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/includes/search/SearchEngineTest.php b/tests/phpunit/includes/search/SearchEngineTest.php index 86ef3a9c9b..4863df2801 100644 --- a/tests/phpunit/includes/search/SearchEngineTest.php +++ b/tests/phpunit/includes/search/SearchEngineTest.php @@ -79,7 +79,13 @@ class SearchEngineTest extends MediaWikiTestCase { return $matches; } - // Modified version of WikiRevision::importOldRevision() + /** + * Insert a new page + * + * @param $pageName String: page name + * @param $text String: page's content + * @param $n Integer: unused + */ function insertPage( $pageName, $text, $ns ) { $dbw = $this->db; $title = Title::newFromText( $pageName ); -- 2.20.1