mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 17:40:12 +00:00
Merge "Tests: Always set Skin"
This commit is contained in:
commit
027af8656f
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue