wiki.techinc.nl/tests/phpunit/integration/includes
DannyS712 633ec93a8c Clean up WatchlistManager tests
Most of the code in WatchlistManager does not depend
on integration logic, with the exception of
- ::clearTitleUserNotifications adding a DeferredUpdate

- ::addWatch and ::removeWatch using
User::newFatalPermissionDeniedStatus, which uses
MediaWikiServices

Move the majority of the rest to the unit tests, except
for an integration test of the overall basic functionality
that we leave to make sure that the integration with the
actual services works properly.

Also take this opportunity to document why the integration
tests left behind need to be integration test, and fix
the name of some tests to addWach/removeWatch instead of
the old doWatch/doUnwatch.

Explicitely add 'watchlist' to the tables used by the
integration test.

Change-Id: I899ef1618c59c179ed2591149b93969fd935276d
2021-04-23 17:19:34 +00:00
..
api Use WatchlistManager in API classes 2021-04-21 04:41:06 +00:00
block Stop using legacy ActorMigration fields in DatabaseBlockStore 2021-04-19 10:51:03 +10:00
cache HtmlCacheUpdater: replace Title in method signatures. 2021-04-16 11:04:26 +00:00
db phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
diff Add $wgDiffEngine 2019-11-05 10:38:52 -05:00
editpage/Constraint Convert ChangeTagsConstraint to Authority 2021-03-15 21:38:42 -06:00
filerepo filerepo: remove repo name from getSharedCacheKey() 2020-11-16 17:28:31 -08:00
language Fix SpecialPage alias test 2021-01-14 10:02:11 +01:00
logging Convert LogPage to UserIdentity 2021-03-23 12:02:40 -06:00
page Factor out rollback logic from WikiPage 2021-04-14 11:49:07 -07:00
parser Introduce Tidy service 2021-03-15 17:22:36 -04:00
poolcounter phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
Rest/Handler Convert ParserCache to PageRecord 2021-04-02 21:14:54 -06:00
revisionlist Remove some meaningless $this->equalTo() from tests 2021-04-22 10:47:54 +02:00
Storage Convert RevisionRecord to Authority and PageIdentity 2021-01-21 13:37:01 -06:00
user User: use ActorNormalization to insert actor 2021-04-15 13:42:39 -07:00
watchlist Clean up WatchlistManager tests 2021-04-23 17:19:34 +00:00
SanitizerValidateEmailTest.php Cleanup some tests to reduce code duplications 2020-12-21 10:08:29 +00:00
TemplateParserIntegrationTest.php phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00