Improve "selfmove" message's wording
[lhc/web/wiklou.git] / tests / phpunit / structure / ApiDocumentationTest.php
index bc5a6bd..83585af 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+use Wikimedia\TestingAccessWrapper;
+
 /**
  * Checks that all API modules, core and extensions, have documentation i18n messages
  *
@@ -77,7 +79,8 @@ class ApiDocumentationTest extends MediaWikiTestCase {
                }
 
                // Module description messages.
-               $this->checkMessage( $module->getDescriptionMessage(), 'Module description' );
+               $this->checkMessage( $module->getSummaryMessage(), 'Module summary' );
+               $this->checkMessage( $module->getExtendedDescription(), 'Module help top text' );
 
                // Parameters. Lots of messages in here.
                $params = $module->getFinalParams( ApiBase::GET_VALUES_FOR_HELP );