X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FResourceLoaderTestCase.php;h=a8a8f4d7302e57ee0f15f0099a7557794feaa9f8;hb=fd9c94d971dfac73f0ea5865a3df80e69cf71ea7;hp=68b91bf3a419e14afc3fe080acc232a3027d4fc1;hpb=849d6c980ca0172391e3c10a3444edd608b157ad;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/ResourceLoaderTestCase.php b/tests/phpunit/ResourceLoaderTestCase.php index 68b91bf3a4..a8a8f4d730 100644 --- a/tests/phpunit/ResourceLoaderTestCase.php +++ b/tests/phpunit/ResourceLoaderTestCase.php @@ -27,6 +27,7 @@ abstract class ResourceLoaderTestCase extends MediaWikiTestCase { $options += [ 'lang' => 'en', 'dir' => 'ltr', + 'skin' => 'vector', 'modules' => 'startup', 'only' => 'scripts', ]; @@ -35,7 +36,7 @@ abstract class ResourceLoaderTestCase extends MediaWikiTestCase { 'lang' => $options['lang'], 'modules' => $options['modules'], 'only' => $options['only'], - 'skin' => 'vector', + 'skin' => $options['skin'], 'target' => 'phpunit', ] ); $ctx = $this->getMockBuilder( 'ResourceLoaderContext' )