mediawiki-extensions-AbuseF.../tests/phpunit
Umherirrender 637a88316b tests: Avoid Title::newFromText/title parsing
Using Title::newFromText is parsing the string, which is expensive.
Just use Title::makeTitle when the result is known.
editPage() can take a Title or WikiPage instead of a string, avoid
creation of Title there.
The default ns on editPage() is only needed when giving a string

Change-Id: Ie303b9e6d6b8d6ac80286059f8e86bfc76b779af
2022-06-28 22:46:45 +02:00
..
integration Avoid array to object cast in filterToDatabaseRow 2022-06-28 18:46:28 +00:00
unit Use UserIdentity in ConsequencesExecutor 2022-06-27 22:05:18 +02:00
AbuseFilterConsequencesTest.php tests: Avoid Title::newFromText/title parsing 2022-06-28 22:46:45 +02:00
AbuseFilterCreateAccountTestTrait.php Inject dependencies into the authentication provider 2022-04-09 18:44:25 +02:00
AbuseFilterFilterUserTest.php Add logging when the 'block' action fails 2022-03-05 19:12:53 +00:00
AbuseFilterRowsAndFiltersTestTrait.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
AbuseFilterUploadTestTrait.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
ConsequenceGetMessageTestTrait.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
DegroupTest.php Remove $info argument from ReversibleConsequence::revert 2022-06-08 11:59:18 +02:00
LazyVariableComputerDBTest.php tests: Avoid Title::newFromText/title parsing 2022-06-28 22:46:45 +02:00
RCVariableGeneratorTest.php Extend RCVariableGeneratorTest 2022-06-28 19:50:11 +00:00
SchemaChangesHandlerTest.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
UpdateHitCountWatcherTest.php tests: Use DBConnRef, not IDatabase, as retval of getConnectionRef 2021-08-31 21:45:10 +02:00