wiki.techinc.nl/tests/phpunit/unit/includes/block
Alexander Vorwerk ef52ed41bb Introduce a DatabaseBlockStoreFactory
The DatabaseBlockStoreFactory is a new service which allows fetching
of a wiki-specific DatabaseBlockStore by fetching the correct
LoadBalancer via a LBFactory and then injecting it into the
DatabaseBlockStore. It also creates a wiki-specific ReadOnlyMode
and BlockRestrictionStore, which are also being injected.

This is being done as a part of the project of supporting cross-wiki
blocking.

The future plan is that BlockUser and UnblockUser are being updated to
properly support creating, updating and deleting cross-wiki blocks.
BlockUser and UnblockUser are then going to use a newly injected
DatabaseBlockStoreFactory to fetch the correct DatabaseBlockStore to
then insert/update/remove the block into/from the correct database.

Bug: T291849
Change-Id: I1051beedfd67c4e2c546b9eec04b6d592d969af3
2023-02-13 01:59:55 +00:00
..
BlockActionInfoTest.php Expand BlockActionInfo test coverage 2022-03-28 00:49:30 +00:00
BlockPermissionCheckerTest.php unit tests: Use MainConfigNames constant to refer configs 2022-08-17 22:33:58 +02:00
BlockRestrictionStoreFactoryTest.php
BlockUtilsTest.php Make use of the ?? and ??= operators where it makes sense 2022-11-10 18:31:18 +01:00
DatabaseBlockStoreFactoryTest.php Introduce a DatabaseBlockStoreFactory 2023-02-13 01:59:55 +00:00
SystemBlockTest.php