Merge "Fix "Only variables should be passed by reference" test failure"

This commit is contained in:
jenkins-bot 2018-02-26 17:07:08 +00:00 committed by Gerrit Code Review
commit d29c0d6585

View file

@ -49,7 +49,8 @@ class PageImagesTest extends MediaWikiTestCase {
$outputPage->expects( $this->never() )
->method( 'addMeta' );
PageImages::onBeforePageDisplay( $outputPage, new SkinTemplate() );
$skinTemplate = new SkinTemplate();
PageImages::onBeforePageDisplay( $outputPage, $skinTemplate );
}
/**