mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 23:55:53 +00:00
Merge "Tests: Always set Skin"
This commit is contained in:
commit
027af8656f
|
@ -26,6 +26,7 @@ class VectorTemplateTest extends MediaWikiIntegrationTestCase {
|
||||||
new TemplateParser(),
|
new TemplateParser(),
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
$template->set( 'skin', new \SkinVector() );
|
||||||
return $template;
|
return $template;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -144,7 +145,6 @@ class VectorTemplateTest extends MediaWikiIntegrationTestCase {
|
||||||
'variants' => [],
|
'variants' => [],
|
||||||
'views' => [],
|
'views' => [],
|
||||||
] );
|
] );
|
||||||
$vectorTemplate->set( 'skin', new \SkinVector() );
|
|
||||||
$vectorTemplate->set( 'userlangattributes', $langAttrs );
|
$vectorTemplate->set( 'userlangattributes', $langAttrs );
|
||||||
$openVectorTemplate = TestingAccessWrapper::newFromObject( $vectorTemplate );
|
$openVectorTemplate = TestingAccessWrapper::newFromObject( $vectorTemplate );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue