Merge "Tests: Always set Skin"

This commit is contained in:
jenkins-bot 2020-05-04 19:20:00 +00:00 committed by Gerrit Code Review
commit 027af8656f

View file

@ -26,6 +26,7 @@ class VectorTemplateTest extends MediaWikiIntegrationTestCase {
new TemplateParser(),
true
);
$template->set( 'skin', new \SkinVector() );
return $template;
}
@ -144,7 +145,6 @@ class VectorTemplateTest extends MediaWikiIntegrationTestCase {
'variants' => [],
'views' => [],
] );
$vectorTemplate->set( 'skin', new \SkinVector() );
$vectorTemplate->set( 'userlangattributes', $langAttrs );
$openVectorTemplate = TestingAccessWrapper::newFromObject( $vectorTemplate );