From: Roan Kattouw Date: Wed, 30 Nov 2016 23:54:15 +0000 (-0500) Subject: ExtensionRegistryTest: Illustrate priority in array_replace_recursive test case X-Git-Tag: 1.31.0-rc.0~4709^2 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=a8e20be5f39ee32f97f29b84a8f80e8f013ce1d4;p=lhc%2Fweb%2Fwiklou.git ExtensionRegistryTest: Illustrate priority in array_replace_recursive test case When two keys have conflicting values, the value from extension.json wins when using this merge strategy. Change-Id: I0222682f3b3fb08f80afc7dda677da7bbfe8e5d1 --- diff --git a/tests/phpunit/includes/registration/ExtensionRegistryTest.php b/tests/phpunit/includes/registration/ExtensionRegistryTest.php index 1de42650fd..9b57e1c3d1 100644 --- a/tests/phpunit/includes/registration/ExtensionRegistryTest.php +++ b/tests/phpunit/includes/registration/ExtensionRegistryTest.php @@ -259,7 +259,7 @@ class ExtensionRegistryTest extends MediaWikiTestCase { 'JsonZeroConfig' => [ 'namespace' => 480, 'nsName' => 'Zero', - 'isLocal' => false, + 'isLocal' => true, ], ], ],