Add @covers tags to ApiModuleManagerTest
[lhc/web/wiklou.git] / tests / phpunit / includes / search / SearchEngineTest.php
index ff360e9..3da1361 100644 (file)
@@ -57,7 +57,11 @@ class SearchEngineTest extends MediaWikiLangTestCase {
                }
 
                $this->insertPage( "Not_Main_Page", "This is not a main page", 0 );
-               $this->insertPage( 'Talk:Not_Main_Page', 'This is not a talk page to the main page, see [[smithee]]', 1 );
+               $this->insertPage(
+                       'Talk:Not_Main_Page',
+                       'This is not a talk page to the main page, see [[smithee]]',
+                       1
+               );
                $this->insertPage( 'Smithee', 'A smithee is one who smiths. See also [[Alan Smithee]]', 0 );
                $this->insertPage( 'Talk:Smithee', 'This article sucks.', 1 );
                $this->insertPage( 'Unrelated_page', 'Nothing in this page is about the S word.', 0 );
@@ -100,9 +104,9 @@ class SearchEngineTest extends MediaWikiLangTestCase {
        /**
         * Insert a new page
         *
-        * @param $pageName String: page name
-        * @param $text String: page's content
-        * @param $n Integer: unused
+        * @param string $pageName Page name
+        * @param string $text Page's content
+        * @param int $ns Unused
         */
        protected function insertPage( $pageName, $text, $ns ) {
                $title = Title::newFromText( $pageName, $ns );