$this->tablesUsed += $this->getMcrTablesToReset();
- $this->setMwGlobals( 'wgCommentTableSchemaMigrationStage', MIGRATION_NEW );
- $this->setMwGlobals( 'wgActorTableSchemaMigrationStage', SCHEMA_COMPAT_OLD );
+ $this->setMwGlobals( 'wgActorTableSchemaMigrationStage', SCHEMA_COMPAT_NEW );
$this->setMwGlobals( 'wgContentHandlerUseDB', $this->getContentHandlerUseDB() );
$this->setMwGlobals(
'wgMultiContentRevisionSchemaMigrationStage',
yield 'ar_text_id is "0"' => [ [ 'ar_text_id' => '0' ] ];
}
- /**
- * @dataProvider provideGetTextFromRowThrowsInvalidArgumentException
- * @covers PageArchive::getTextFromRow
- */
- public function testGetTextFromRowThrowsInvalidArgumentException( array $row ) {
- $this->hideDeprecated( PageArchive::class . '::getTextFromRow' );
- $this->setExpectedException( InvalidArgumentException::class );
-
- $this->archivedPage->getTextFromRow( (object)$row );
- }
-
- /**
- * @covers PageArchive::getLastRevisionText
- */
- public function testGetLastRevisionText() {
- $this->hideDeprecated( PageArchive::class . '::getLastRevisionText' );
-
- $text = $this->archivedPage->getLastRevisionText();
- $this->assertSame( 'Lorem Ipsum', $text );
- }
-
/**
* @covers PageArchive::getLastRevisionId
*/