X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FResourceLoaderTestCase.php;h=e9a8a1fa3cad347e73e8f04ea6548623562dc68b;hb=284778405b0e41c57b3085958401e07b6ca742e6;hp=ca5ff6c549f5760241a48af88eac46a844db66b2;hpb=e9a27a78e455de664144d0c3cfc789bcc411fab2;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/ResourceLoaderTestCase.php b/tests/phpunit/ResourceLoaderTestCase.php index ca5ff6c549..e9a8a1fa3c 100644 --- a/tests/phpunit/ResourceLoaderTestCase.php +++ b/tests/phpunit/ResourceLoaderTestCase.php @@ -29,7 +29,7 @@ abstract class ResourceLoaderTestCase extends MediaWikiTestCase { 'debug' => 'true', 'lang' => 'en', 'dir' => 'ltr', - 'skin' => 'vector', + 'skin' => 'fallback', 'modules' => 'startup', 'only' => 'scripts', 'safemode' => null, @@ -60,9 +60,6 @@ abstract class ResourceLoaderTestCase extends MediaWikiTestCase { // Avoid influence from wgInvalidateCacheOnLocalSettingsChange 'CacheEpoch' => '20140101000000', - // For ResourceLoader::__construct() - 'ResourceLoaderSources' => [], - // For wfScript() 'ScriptPath' => '/w', 'Script' => '/w/index.php', @@ -140,6 +137,7 @@ class ResourceLoaderTestModule extends ResourceLoaderModule { public function isRaw() { return $this->isRaw; } + public function isKnownEmpty( ResourceLoaderContext $context ) { return $this->isKnownEmpty; }