wiki.techinc.nl/tests/phpunit/includes/logging
daniel 8e0ae53482 PHPUnit: introduce clearHooks() method.
Since the introduction of the new hooks stystem, it is not possible to
clear all hooks by setting $wgHooks. This would only clear old-style
hooks. This is becoming increasingly problematic as the new hooks system
is adopted by more and more extensions.

Introduce a method that allows tests to reset many or all hooks.
This isn't needed much in core, but extension tests need it.

Change-Id: Ica3eb88fe23fe822d2aadb96ff5d15f80dce0d7b
2022-11-03 13:40:42 +01:00
..
BlockLogFormatterTest.php Migrate usage of setMwGlobals() to overrideConfigValue(s) 2022-08-01 06:16:22 +01:00
ContentModelLogFormatterTest.php
DatabaseLogEntryTest.php logging: Remove user_editcount from DatabaseLogEntry query info 2022-04-06 23:40:03 +02:00
DeleteLogFormatterTest.php Migrate usage of setMwGlobals() to overrideConfigValue(s) 2022-08-01 06:16:22 +01:00
ImportLogFormatterTest.php Add DummyServicesTrait::getDummyInterwikiLookup 2021-05-05 10:57:59 -07:00
LogFormatterTest.php Migrate usage of setMwGlobals() to overrideConfigValue(s) 2022-08-01 06:16:22 +01:00
LogFormatterTestCase.php Remove hard-deprecated LogEntry::getPerformer 2021-06-28 18:06:36 -07:00
LogTests.i18n.php
MergeLogFormatterTest.php
MoveLogFormatterTest.php
NewUsersLogFormatterTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
PageLangLogFormatterTest.php PHPUnit: introduce clearHooks() method. 2022-11-03 13:40:42 +01:00
PatrolLogFormatterTest.php
ProtectLogFormatterTest.php Change "protection level" to "protection settings" 2021-05-04 13:17:36 +03:00
RightsLogFormatterTest.php
UploadLogFormatterTest.php