diff options
author | jdlrobson <jdlrobson@gmail.com> | 2019-09-25 10:44:05 -0700 |
---|---|---|
committer | Krinkle <krinklemail@gmail.com> | 2019-11-08 04:25:50 +0000 |
commit | 6845912bcf106824a69a553be4791b7c77b9ffae (patch) | |
tree | 19de4972513e7d41dfc757386da5b8662d948d13 /tests/phpunit/includes/resourceloader/ResourceLoaderSkinModuleTest.php | |
parent | c2c789cc5916dbc2110b7874f163f14beffc80a5 (diff) | |
download | mediawikicore-6845912bcf106824a69a553be4791b7c77b9ffae.tar.gz mediawikicore-6845912bcf106824a69a553be4791b7c77b9ffae.zip |
ResourceLoaderSkinModule: Provide optional mediawiki.skinning styles
All mediawiki.skinning modules are repurposed as variants of the
ResourceLoaderSkinModule and those ResourceLoader modules are marked for
deprecation. Skins will now be encouraged to use the ResourceLoaderSkinModule
class themselves as part of their own style module rather than using a
module defined in core.
Bug: T118134
Bug: T114695
Change-Id: I4bc8b9b4da1c16eed34f3a517ec695019381e764
Diffstat (limited to 'tests/phpunit/includes/resourceloader/ResourceLoaderSkinModuleTest.php')
-rw-r--r-- | tests/phpunit/includes/resourceloader/ResourceLoaderSkinModuleTest.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/phpunit/includes/resourceloader/ResourceLoaderSkinModuleTest.php b/tests/phpunit/includes/resourceloader/ResourceLoaderSkinModuleTest.php index 23b0cb911b99..5e994c58b712 100644 --- a/tests/phpunit/includes/resourceloader/ResourceLoaderSkinModuleTest.php +++ b/tests/phpunit/includes/resourceloader/ResourceLoaderSkinModuleTest.php @@ -75,7 +75,6 @@ CSS */ public function testGetStyles( $parent, $logo, $expected ) { $module = $this->getMockBuilder( ResourceLoaderSkinModule::class ) - ->disableOriginalConstructor() ->setMethods( [ 'readStyleFiles', 'getConfig', 'getLogoData' ] ) ->getMock(); $module->expects( $this->once() )->method( 'readStyleFiles' ) |