wiki.techinc.nl/tests/phpunit/integration/includes
Tim Starling 1b0b40016c Fix UserFactory::newAnonymous() performance
When newAnonymous() was called with a specified IP address, it called
newFromName(), leading to a DB query on User::load() as if the IP
address could be in the database.

Instead, use User::setName() which is documented to work for this
purpose and indeed appears to do so.

Change-Id: I8e8be719c89b1d1e4ae2cf9063db68b929bb3651
2022-03-30 17:31:38 +11:00
..
block Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
cache HtmlCacheUpdater: replace Title in method signatures. 2021-04-16 11:04:26 +00:00
CommentFormatter Merge "phpcs: Disable Generic.Files.LineLength for test files" 2022-02-21 15:51:29 +00:00
db Revert "rdbms: make automatic connection recovery apply to more cases" 2022-03-17 20:11:10 +01:00
diff
editpage/Constraint Improve error messages in EditFilterMergedContentHookConstraint 2022-03-22 14:53:02 +01:00
export Fix PHP 8.0 failure of WikiExporterFactoryTest 2022-01-21 15:20:57 +11:00
filerepo
htmlform HTMLTitleTextField: Remove B&C code 2021-09-22 00:48:59 -07:00
language phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
libs/rdbms/resultwrapper Make IResultWrapper::seek() throw an exception 2021-08-02 11:37:45 +10:00
logging
page Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
parser Move Content::getParserOutput & AbstractContent::fillParserOutput to ContentHandler 2021-09-29 13:10:51 +03:00
Permissions RestrictionStoreTest: Don't access services in data providers 2021-12-08 15:54:13 +01:00
poolcounter phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
Rest/Handler Fix error message in test assertion 2022-03-09 16:29:25 -06:00
revisionlist tests: Use service container in integration tests cases 2021-09-05 22:14:36 +01:00
Storage Inject MainConfig into actions 2022-01-12 22:30:31 +01:00
user Fix UserFactory::newAnonymous() performance 2022-03-30 17:31:38 +11:00
utils Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
watchlist Fix core newtalk 304 suppression and update deferral 2022-03-18 16:52:12 +11:00
SanitizerValidateEmailTest.php
StubGlobalUserTest.php Remove or replace usages of "sanity" 2021-11-21 16:42:31 +00:00
StubObjectTest.php StubObject: add magic __get() and __set() 2021-09-04 05:37:25 +00:00
TemplateParserIntegrationTest.php TemplateParser: Only hash unique files 2022-02-09 14:12:24 +00:00