Merge "rc_old/new_len null for CategoryMembership RC change"
[lhc/web/wiklou.git] / tests / phpunit / includes / content / JavaScriptContentHandlerTest.php
index d9487a0..17f653c 100644 (file)
@@ -7,10 +7,10 @@ class JavaScriptContentHandlerTest extends MediaWikiLangTestCase {
         * @covers JavaScriptContentHandler::makeRedirectContent
         */
        public function testMakeRedirectContent( $title, $expected ) {
-               $this->setMwGlobals( array(
+               $this->setMwGlobals( [
                        'wgServer' => '//example.org',
                        'wgScript' => '/w/index.php',
-               ) );
+               ] );
                $ch = new JavaScriptContentHandler();
                $content = $ch->makeRedirectContent( Title::newFromText( $title ) );
                $this->assertInstanceOf( 'JavaScriptContent', $content );