diff options
Diffstat (limited to 'MLEB/Translate/tests/phpunit/ResourcesOrderTest.php')
-rw-r--r-- | MLEB/Translate/tests/phpunit/ResourcesOrderTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MLEB/Translate/tests/phpunit/ResourcesOrderTest.php b/MLEB/Translate/tests/phpunit/ResourcesOrderTest.php index cd7f3c26..612840b2 100644 --- a/MLEB/Translate/tests/phpunit/ResourcesOrderTest.php +++ b/MLEB/Translate/tests/phpunit/ResourcesOrderTest.php @@ -5,13 +5,13 @@ * @file * @author Niklas Laxström * @copyright Copyright © 2012-2013, Niklas Laxström - * @license GPL-2.0+ + * @license GPL-2.0-or-later */ class ResourcesOrderTest extends MediaWikiTestCase { public function setUp() { parent::setUp(); - $this->setMwGlobals( 'wgResourceModules', array() ); + $this->setMwGlobals( 'wgResourceModules', [] ); } public function testAlphabeticalOrder() { @@ -23,7 +23,7 @@ class ResourcesOrderTest extends MediaWikiTestCase { $this->assertEquals( array_keys( $sorted ), array_keys( $wgResourceModules ), - "Modules are defined in alphabetical order." + 'Modules are defined in alphabetical order.' ); } } |