mediawiki-extensions-Gadgets/tests/phpunit
Daimona Eaytoy b1b7bfefa3 Avoid using TestUser in non-database test
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
2023-07-17 23:12:13 +02:00
..
integration Avoid using TestUser in non-database test 2023-07-17 23:12:13 +02:00
unit Gadget maintains its own version of targets system 2023-06-29 16:20:29 -07:00
GadgetTestUtils.php Namespace extension 2022-03-05 17:03:35 +00:00