registration: Add test case to demonstrate T98347 is invalid
authorKunal Mehta <legoktm@gmail.com>
Sat, 16 May 2015 00:57:12 +0000 (17:57 -0700)
committerKunal Mehta <legoktm@gmail.com>
Sat, 16 May 2015 00:57:12 +0000 (17:57 -0700)
Change-Id: I0f5c1bfa0d83465beffb1cc5ebaa457169569228

tests/phpunit/includes/registration/ExtensionRegistryTest.php

index 1b24628..8674343 100644 (file)
@@ -172,6 +172,7 @@ class ExtensionRegistryTest extends MediaWikiTestCase {
                                                'user' => array(
                                                        'right' => true,
                                                        'somethingtwo' => false,
+                                                       'nonduplicated' => true,
                                                )
                                        ),
                                ),
@@ -186,6 +187,7 @@ class ExtensionRegistryTest extends MediaWikiTestCase {
                                                'user' => array(
                                                        'somethingtwo' => true,
                                                        'right' => true,
+                                                       'nonduplicated' => true,
                                                )
                                        ),
                                ),