From: Kunal Mehta Date: Sat, 16 Aug 2014 05:50:25 +0000 (-0700) Subject: Register a fake skin instead of a 'vector' that will fail X-Git-Tag: 1.31.0-rc.0~14413 X-Git-Url: http://git.cyclocoop.org/%22%20.%20%20%20%24self2%20.%20%20%20%22&var_mode_affiche=boucle?a=commitdiff_plain;h=6a826fd6bf2724707c23d1b6f18639bdfc5463e9;p=lhc%2Fweb%2Fwiklou.git Register a fake skin instead of a 'vector' that will fail Bug: 69639 Change-Id: Icd87520f7b6de337b009144420c3a430861d0833 --- diff --git a/tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php b/tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php index 038a0e1f9e..64e2b0003e 100644 --- a/tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php +++ b/tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php @@ -7,7 +7,7 @@ class ResourceLoaderModuleTest extends ResourceLoaderTestCase { // The return value of the closure shouldn't matter since this test should // never call it - SkinFactory::getDefaultInstance()->register( 'vector', 'Vector', function(){}); + SkinFactory::getDefaultInstance()->register( 'fakeskin', 'FakeSkin', function(){}); } /** @@ -29,7 +29,7 @@ class ResourceLoaderModuleTest extends ResourceLoaderTestCase { ), 'skinStyles' => array( 'default' => 'quux-fallback.less', - 'vector' => array( + 'fakeskin' => array( 'baz-vector.css', 'quux-vector.less', ),