dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "widget: Fix changes of copyright year"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
registration
/
ExtensionRegistryTest.php
diff --git
a/tests/phpunit/includes/registration/ExtensionRegistryTest.php
b/tests/phpunit/includes/registration/ExtensionRegistryTest.php
index
9b57e1c
..
5916b45
100644
(file)
--- a/
tests/phpunit/includes/registration/ExtensionRegistryTest.php
+++ b/
tests/phpunit/includes/registration/ExtensionRegistryTest.php
@@
-287,6
+287,18
@@
class ExtensionRegistryTest extends MediaWikiTestCase {
],
],
],
+ [
+ 'global is null before',
+ [
+ 'NullGlobal' => null,
+ ],
+ [
+ 'NullGlobal' => 'not-null'
+ ],
+ [
+ 'NullGlobal' => null
+ ],
+ ],
];
}
}