mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-28 01:00:02 +00:00
b1b7bfefa3
TestUser needs a database connection to create the User, but this test doesn't need a real user, so just use a mock instead. Ideally we'd use Authority, but the hook still takes a User object. Change-Id: If6cb7e3756036fc458a4308b06499c4bc0d3d9b0 |
||
---|---|---|
.. | ||
integration | ||
unit | ||
GadgetTestUtils.php |