From a8e20be5f39ee32f97f29b84a8f80e8f013ce1d4 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Wed, 30 Nov 2016 18:54:15 -0500 Subject: [PATCH] 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 --- tests/phpunit/includes/registration/ExtensionRegistryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ], ], ], -- 2.20.1