mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-11-24 08:23:28 +00:00
Merge "Fix "Only variables should be passed by reference" test failure"
This commit is contained in:
commit
d29c0d6585
|
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue