diff --git a/tests/phpunit/includes/GlobalFunctions/GlobalTest.php b/tests/phpunit/includes/GlobalFunctions/GlobalTest.php index eb4d4d90529..190e492a13c 100644 --- a/tests/phpunit/includes/GlobalFunctions/GlobalTest.php +++ b/tests/phpunit/includes/GlobalFunctions/GlobalTest.php @@ -32,7 +32,7 @@ class GlobalTest extends MediaWikiIntegrationTestCase { */ public function testWfArrayDiff2( $a, $b, $expected ) { $this->assertEquals( - wfArrayDiff2( $a, $b ), $expected + $expected, wfArrayDiff2( $a, $b ) ); }