X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FPageArchiveTest.php;h=6fbe0533619d81bb40e82ab956309143707b09d0;hb=e5879da149afe183ce889ef6f4158086c9b4735f;hp=15b26c23e65779249a08932d9ed902df26f5bef8;hpb=d6b2f3447572583405901225227e69b1c7cc24b3;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/PageArchiveTest.php b/tests/phpunit/includes/PageArchiveTest.php index 15b26c23e6..6fbe053361 100644 --- a/tests/phpunit/includes/PageArchiveTest.php +++ b/tests/phpunit/includes/PageArchiveTest.php @@ -114,6 +114,9 @@ class PageArchiveTest extends MediaWikiTestCase { * @covers PageArchive::listRevisions */ public function testListRevisions() { + $this->setMwGlobals( 'wgCommentTableSchemaMigrationStage', MIGRATION_OLD ); + $this->overrideMwServices(); + $revisions = $this->archivedPage->listRevisions(); $this->assertEquals( 2, $revisions->numRows() );