This was deprecated in I76bc6fd6ee, but somehow this usage was missed,
maybe the commit that added it went through review in parallel with that
one.
Change-Id: I8131f360f4300f62d56be64fda117038f51e693b
}
$oldRev = $this->revisionLookup->getRevisionById( $oldid );
- $nextRev = $this->revisionLookup->getNextRevision( $oldRev, $title );
+ $nextRev = $this->revisionLookup->getNextRevision( $oldRev );
if ( !$nextRev ) {
// Oldid given and is the latest revision for this title; clear the timestamp.
return null;
return $mockRevisionRecord;
},
'getNextRevision' =>
- function ( $oldRev, $titleArg ) use ( $mockRevisionRecord, $title ) {
+ function ( $oldRev ) use ( $mockRevisionRecord ) {
$this->assertSame( $mockRevisionRecord, $oldRev );
- $this->assertSame( $title, $titleArg );
return false;
},
], [