Add GadgetHooksTest to the Database group

The test uses black magic to override the behaviour of
MediaWikiGadgetsDefinitionRepo. However, this magic doesn't work well
with I2ac659a4, which disabled gadget loading in non-database tests.
This test is the only one that needs that code to be run, although it
won't actually make any queries because of said black magic.

Add the test to the Database group as a temporary (TM) workaround to
replacing the TestingAccessWrapper magic with something else.

Change-Id: I7d9fd612dd685a5728d3a7a9ced97fd5ac45f491
This commit is contained in:
Daimona Eaytoy 2023-08-06 22:55:00 +02:00
parent c800299653
commit b6e76eeb3a

View file

@ -7,6 +7,7 @@ use Wikimedia\TestingAccessWrapper;
/**
* @group Gadgets
* @group Database
*/
class GadgetHooksTest extends MediaWikiIntegrationTestCase {
public function tearDown(): void {