From: umherirrender Date: Wed, 14 Oct 2015 07:03:15 +0000 (+0200) Subject: Move comment in backup_PageTest.php X-Git-Tag: 1.31.0-rc.0~9389^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=41c0c205ae658756f4e64fc6fda42a3c243746f8;p=lhc%2Fweb%2Fwiklou.git Move comment in backup_PageTest.php Move the comment at the begin of the function out of it to a doc comment. Change-Id: I6febf51a74de88204d54b1e3251df187197c1819 --- diff --git a/tests/phpunit/maintenance/backup_PageTest.php b/tests/phpunit/maintenance/backup_PageTest.php index 0cb0cdb65d..8b6221ba92 100644 --- a/tests/phpunit/maintenance/backup_PageTest.php +++ b/tests/phpunit/maintenance/backup_PageTest.php @@ -288,17 +288,18 @@ class BackupDumperPageTest extends DumpTestCase { $this->assertDumpEnd(); } + /** + * xmldumps-backup typically performs a single dump that that writes + * out three files + * - gzipped stubs of everything (meta-history) + * - gzipped stubs of latest revisions of all pages (meta-current) + * - gzipped stubs of latest revisions of all pages of namespage 0 + * (articles) + * + * We reproduce such a setup with our mini fixture, although we omit + * chunks, and all the other gimmicks of xmldumps-backup. + */ function testXmlDumpsBackupUseCase() { - // xmldumps-backup typically performs a single dump that that writes - // out three files - // * gzipped stubs of everything (meta-history) - // * gzipped stubs of latest revisions of all pages (meta-current) - // * gzipped stubs of latest revisions of all pages of namespage 0 - // (articles) - // - // We reproduce such a setup with our mini fixture, although we omit - // chunks, and all the other gimmicks of xmldumps-backup. - // $this->checkHasGzip(); $fnameMetaHistory = $this->getNewTempFile();