X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FRevisionTest.php;h=d928fb451213b67b9861268ef6756df267f2f4d3;hp=8b644c57cb91afc675641744b9d154000122cf20;hb=28267081d8ddea8b91c7d7cc1640be662dd41252;hpb=1964f24bb466fa0c8c30d075a1e7ef94a84593f9 diff --git a/tests/phpunit/includes/RevisionTest.php b/tests/phpunit/includes/RevisionTest.php index 8b644c57cb..d928fb4512 100644 --- a/tests/phpunit/includes/RevisionTest.php +++ b/tests/phpunit/includes/RevisionTest.php @@ -54,7 +54,7 @@ class RevisionTest extends MediaWikiTestCase { ->method( 'getArticleID' ) ->will( $this->returnValue( 23 ) ); $mock->expects( $this->any() ) - ->method( 'getModel' ) + ->method( 'getContentModel' ) ->will( $this->returnValue( $model ) ); return $mock;