protected function setUp() {
parent::setUp();
- $this->setMwGlobals( array(
- 'wgValidSkinNames' => array( 'vector' => 'Vector' ),
- ) );
+ // The return value of the closure shouldn't matter since this test should
+ // never call it
+ SkinFactory::getDefaultInstance()->register(
+ 'fakeskin',
+ 'FakeSkin',
+ function () {
+ }
+ );
}
/**
),
'skinStyles' => array(
'default' => 'quux-fallback.less',
- 'vector' => array(
+ 'fakeskin' => array(
'baz-vector.css',
'quux-vector.less',
),