protected function setUp() { parent::setUp(); // The return value of the closure shouldn't matter since this test should // never call it SkinFactory::getDefaultInstance()->register('fakeskin', 'FakeSkin', function () { }); }
protected function setUp() { parent::setUp(); $this->setMwGlobals(array('wgResourceLoaderLESSFunctions' => array('test-sum' => function ($frame, $less) { $sum = 0; foreach ($frame[2] as $arg) { $sum += (int) $arg[1]; } return $sum; }), 'wgResourceLoaderLESSImportPaths' => array(dirname(dirname(__DIR__)) . '/data/less/common'), 'wgResourceLoaderLESSVars' => array('foo' => '2px', 'Foo' => '#eeeeee', 'bar' => 5))); }
protected function setUp() { parent::setUp(); $this->imagesPath = __DIR__ . '/../../data/resourceloader'; }
protected function setUp() { parent::setUp(); $this->setMwGlobals(array('wgResourceLoaderLESSImportPaths' => array(dirname(dirname(__DIR__)) . '/data/less/common'), 'wgResourceLoaderLESSVars' => array('foo' => '2px', 'Foo' => '#eeeeee', 'bar' => 5))); }