aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/content/CssContentHandlerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/content/CssContentHandlerTest.php')
-rw-r--r--tests/phpunit/includes/content/CssContentHandlerTest.php19
1 files changed, 14 insertions, 5 deletions
diff --git a/tests/phpunit/includes/content/CssContentHandlerTest.php b/tests/phpunit/includes/content/CssContentHandlerTest.php
index 9643d13b847d..d92fb8fc1591 100644
--- a/tests/phpunit/includes/content/CssContentHandlerTest.php
+++ b/tests/phpunit/includes/content/CssContentHandlerTest.php
@@ -22,11 +22,20 @@ class CssContentHandlerTest extends MediaWikiLangTestCase {
*/
public static function provideMakeRedirectContent() {
// @codingStandardsIgnoreStart Generic.Files.LineLength
- return array(
- array( 'MediaWiki:MonoBook.css', "/* #REDIRECT */@import url(//example.org/w/index.php?title=MediaWiki:MonoBook.css&action=raw&ctype=text/css);" ),
- array( 'User:FooBar/common.css', "/* #REDIRECT */@import url(//example.org/w/index.php?title=User:FooBar/common.css&action=raw&ctype=text/css);" ),
- array( 'Gadget:FooBaz.css', "/* #REDIRECT */@import url(//example.org/w/index.php?title=Gadget:FooBaz.css&action=raw&ctype=text/css);" ),
- );
+ return [
+ [
+ 'MediaWiki:MonoBook.css',
+ "/* #REDIRECT */@import url(//example.org/w/index.php?title=MediaWiki:MonoBook.css&action=raw&ctype=text/css);"
+ ],
+ [
+ 'User:FooBar/common.css',
+ "/* #REDIRECT */@import url(//example.org/w/index.php?title=User:FooBar/common.css&action=raw&ctype=text/css);"
+ ],
+ [
+ 'Gadget:FooBaz.css',
+ "/* #REDIRECT */@import url(//example.org/w/index.php?title=Gadget:FooBaz.css&action=raw&ctype=text/css);"
+ ],
+ ];
// @codingStandardsIgnoreEnd
}
}