https://bugzilla.wikimedia.org/show_bug.cgi?id=39229
Web browser: ---
Bug #: 39229
Summary: mediawiki.user getGroups qunit tests fail
Product: MediaWiki
Version: 1.20-git
Platform: All
OS/Version: All
Status: NEW
Keywords: javascript
Severity: normal
Priority: Unprioritized
Component: Unit tests
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
mediawiki.user: getGroups (2, 1, 3)Rerun
"*"" is the first group
Expected:
"*"
Result:
undefined
Diff:
"*" undefined
Source:
at Object.<anonymous>
(http://192.168.0.190/w/tests/qunit/suites/resources/mediawiki/mediawiki.user.test.js:40:10)
at fire
(http://192.168.0.190/w/load.php?debug=true&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20120810T140017Z:1075:30)
at Object.self.fireWith
(http://192.168.0.190/w/load.php?debug=true&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20120810T140017Z:1193:7)
at Object.self.fire
(http://192.168.0.190/w/load.php?debug=true&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20120810T140017Z:1200:10)
at Object.<anonymous>
(http://192.168.0.190/w/resources/mediawiki/mediawiki.user.js:43:22)
at fire
(http://192.168.0.190/w/load.php?debug=true&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20120810T140017Z:1075:30)
at Object.self.fireWith
(http://192.168.0.190/w/load.php?debug=true&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20120810T140017Z:1193:7)
Array contains all groups, just like wgUserGroups
Expected:
[
"*",
"autoconfirmed",
"bureaucrat",
"checkuser",
"svnadmins",
"sysop",
"user"
]
Result:
[]
Diff:
[
"*",
"autoconfirmed",
"bureaucrat",
"checkuser",
"svnadmins",
"sysop",
"user"
] []
Source:
at Object.<anonymous>
(http://192.168.0.190/w/tests/qunit/suites/resources/mediawiki/mediawiki.user.test.js:43:10)
at fire
(http://192.168.0.190/w/load.php?debug=true&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20120810T140017Z:1075:30)
at Object.self.fireWith
(http://192.168.0.190/w/load.php?debug=true&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20120810T140017Z:1193:7)
at Object.self.fire
(http://192.168.0.190/w/load.php?debug=true&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20120810T140017Z:1200:10)
at Object.<anonymous>
(http://192.168.0.190/w/resources/mediawiki/mediawiki.user.js:43:22)
at fire
(http://192.168.0.190/w/load.php?debug=true&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20120810T140017Z:1075:30)
at Object.self.fireWith
(http://192.168.0.190/w/load.php?debug=true&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20120810T140017Z:1193:7)
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l