X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FOutputPageTest.php;h=aa14124a2c54120b2d3b4f96646ca0268a07cf8c;hb=735dceaa45d2965508ffb6891a1049976f79310f;hp=7bb5c38fa99a9b1cf7d8ddba72c3498fff37cd4d;hpb=04179d3a5ce90f3f967d0e004fdf68bd45b04541;p=lhc%2Fweb%2Fwiklou.git
diff --git a/tests/phpunit/includes/OutputPageTest.php b/tests/phpunit/includes/OutputPageTest.php
index 7bb5c38fa9..aa14124a2c 100644
--- a/tests/phpunit/includes/OutputPageTest.php
+++ b/tests/phpunit/includes/OutputPageTest.php
@@ -1744,7 +1744,6 @@ class OutputPageTest extends MediaWikiTestCase {
// @todo Make sure to test the following in addParserOutputMetadata() as well when we add tests
// for them:
// * addModules()
- // * addModuleScripts()
// * addModuleStyles()
// * addJsConfigVars()
// * enableOOUI()
@@ -2575,14 +2574,14 @@ class OutputPageTest extends MediaWikiTestCase {
[
[ 'test.foo', ResourceLoaderModule::TYPE_SCRIPTS ],
""
],
// Multiple only=styles load
[
[ [ 'test.baz', 'test.foo', 'test.bar' ], ResourceLoaderModule::TYPE_STYLES ],
- ''
+ ''
],
// Private embed (only=scripts)
[
@@ -2607,14 +2606,14 @@ class OutputPageTest extends MediaWikiTestCase {
// noscript group
[
[ 'test.noscript', ResourceLoaderModule::TYPE_STYLES ],
- ''
+ ''
],
// Load two modules in separate groups
[
[ [ 'test.group.foo', 'test.group.bar' ], ResourceLoaderModule::TYPE_COMBINED ],
""
],
];
@@ -2678,13 +2677,13 @@ class OutputPageTest extends MediaWikiTestCase {
'default logged-out' => [
'exemptStyleModules' => [ 'site' => [ 'site.styles' ] ],
'' . "\n" .
- '',
+ '',
],
'default logged-in' => [
'exemptStyleModules' => [ 'site' => [ 'site.styles' ], 'user' => [ 'user.styles' ] ],
'' . "\n" .
- '' . "\n" .
- '',
+ '' . "\n" .
+ '',
],
'custom modules' => [
'exemptStyleModules' => [
@@ -2692,10 +2691,10 @@ class OutputPageTest extends MediaWikiTestCase {
'user' => [ 'user.styles', 'example.user' ],
],
'' . "\n" .
- '' . "\n" .
- '' . "\n" .
- '' . "\n" .
- '',
+ '' . "\n" .
+ '' . "\n" .
+ '' . "\n" .
+ '',
],
];
// phpcs:enable