X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=tests%2Fphpunit%2Fmaintenance%2FDumpTestCase.php;h=45d5ea8c3e2469d0b086b0b50d56518bbef9e067;hb=5ba12e2896a71d5ae8be2f404934e2dbe1f0abbc;hp=dad30b7988ad8ed37bd549e09fc83f97d6372f25;hpb=4169b4f42502ca1956f7a7253b5f54e1901e7821;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/maintenance/DumpTestCase.php b/tests/phpunit/maintenance/DumpTestCase.php index dad30b7988..45d5ea8c3e 100644 --- a/tests/phpunit/maintenance/DumpTestCase.php +++ b/tests/phpunit/maintenance/DumpTestCase.php @@ -30,7 +30,7 @@ abstract class DumpTestCase extends MediaWikiLangTestCase { * * @param Page $page Page to add the revision to * @param string $text Revisions text - * @param string $text Revisions summare + * @param string $summary Revisions summare * * @throws MWException */ @@ -181,7 +181,7 @@ abstract class DumpTestCase extends MediaWikiLangTestCase { * Asserts that the xml reader is at the final closing tag of an xml file and * closes the reader. * - * @param string $tag (optional) the name of the final tag + * @param string $name (optional) the name of the final tag * (e.g.: "mediawiki" for ) */ protected function assertDumpEnd( $name = "mediawiki" ) { @@ -304,9 +304,9 @@ abstract class DumpTestCase extends MediaWikiLangTestCase { * @param string $text_sha1 The base36 SHA-1 of the revision's text * @param string|bool $text (optional) The revision's string, or false to check for a * revision stub + * @param int|bool $parentid (optional) id of the parent revision * @param string $model The expected content model id (default: CONTENT_MODEL_WIKITEXT) * @param string $format The expected format model id (default: CONTENT_FORMAT_WIKITEXT) - * @param int|bool $parentid (optional) id of the parent revision */ protected function assertRevision( $id, $summary, $text_id, $text_bytes, $text_sha1, $text = false, $parentid = false,