X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FRevisionTest.php;h=98f2980f931860d704619dac68257db0446aa6a8;hb=ca00e47f535129e067a078c96a90c6dfbae716b0;hp=02a6c19d1f514007064b0c25c052c32a747a81b2;hpb=37ef56fadd17089b2dd945cecf834683a62cd1b7;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/RevisionTest.php b/tests/phpunit/includes/RevisionTest.php index 02a6c19d1f..98f2980f93 100644 --- a/tests/phpunit/includes/RevisionTest.php +++ b/tests/phpunit/includes/RevisionTest.php @@ -601,7 +601,7 @@ class RevisionTest extends MediaWikiTestCase { * @covers Revision::loadFromTitle */ public function testLoadFromTitle() { - $this->setMwGlobals( 'wgActorTableSchemaMigrationStage', SCHEMA_COMPAT_OLD ); + $this->setMwGlobals( 'wgActorTableSchemaMigrationStage', SCHEMA_COMPAT_NEW ); $this->overrideMwServices(); $title = $this->getMockTitle(); @@ -640,6 +640,7 @@ class RevisionTest extends MediaWikiTestCase { $this->equalTo( [ 'revision', 'page', 'user', 'temp_rev_comment' => 'revision_comment_temp', 'comment_rev_comment' => 'comment', + 'temp_rev_user' => 'revision_actor_temp', 'actor_rev_user' => 'actor', ] ), // We don't really care about the fields are they come from the selectField methods $this->isType( 'array' ),