From 2284d4698ba32fc6013d9240f86543f192988333 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Wed, 5 Nov 2025 16:15:09 +0200 Subject: [PATCH] Update git submodules * Update extensions/AbuseFilter from branch 'REL1_43' to 18426afba58c3da02a154c70d36945e0a9b35a59 - tests: skip config reset when ConfirmEdit is not loaded The ConfirmEditHandlerTest integration tests has a tearDown() function invoking MediaWiki\Extension\ConfirmEdit\Hooks::getInstance(). When ConfirmEdit is NOT loaded the test fails with: RuntimeException: mediaWikiSetUp() was called but not mediaWikiTearDown() use assertPostConditions() instead of tearDown() for post-test assertions. The reason is the class is not available which leads to an exception and parent::tearDown() is not invoked. In MediaWikiIntegrationTestCase, $setupWithoutTeardown is thus not reset and the next case claims tearDown has never been called. This was caused by Ib223d0fee8096d1bc768bf0a49ff453384dab3ef which rightfully moved markTestSkippedIfExtensionNotLoaded() from the test to setUp() but missed tearDown() had a call to ConfirmEdit code. Change-Id: I6ecb82e4c92d8100b8376c6c720da009f09e8883 (cherry picked from commit 7406ed8fedd173d88a9e594d05f18f967ceaa9b5) --- extensions/AbuseFilter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/AbuseFilter b/extensions/AbuseFilter index 352785581d8..18426afba58 160000 --- a/extensions/AbuseFilter +++ b/extensions/AbuseFilter @@ -1 +1 @@ -Subproject commit 352785581d86fd03d52d7aebf0cdbf5b5d82b5b5 +Subproject commit 18426afba58c3da02a154c70d36945e0a9b35a59