mediawiki-extensions-Echo/tests/phpunit
Michael Holloway 15d48278be Create and enforce a config setting for max subscriptions per user
Creates a EchoPushMaxSubscriptionsPerUser config setting (default: 0)
that controls the maximum number of subscriptions a user may associate
with the user's central user ID.

The setting is enforced in EchoPush\SubscriptionManager::create().

To allow creating push subscriptions for development, set
$wgEchoPushMaxSubscriptionsPerUser to a positive integer value in
LocalSettings.php:

 $wgEchoPushMaxSubscriptionsPerUser = 10;

Bug: T259150
Change-Id: Ib97b6b6cbb8161dd75dad92c54b4fe4fff80c421
2020-08-12 17:58:11 -04:00
..
api Create and enforce a config setting for max subscriptions per user 2020-08-12 17:58:11 -04:00
cache Merge "Use absolute class names in @covers tags" 2019-10-24 18:37:15 +00:00
controller phpcs: Break long lines 2020-06-27 12:05:03 +02:00
formatters Use absolute class names in @covers tags 2019-10-23 12:23:09 +02:00
integration Create and enforce a config setting for max subscriptions per user 2020-08-12 17:58:11 -04:00
maintenance Merge "Use absolute class names in @covers tags" 2019-10-24 18:37:15 +00:00
mapper Remove hack for PHPUnit's Stub interface 2020-01-23 12:34:48 +00:00
model Use absolute class names in @covers tags 2019-10-23 12:23:09 +02:00
revision_txt Ping users mentioned in edit summaries 2018-02-22 12:37:35 -08:00
unit Use more specific PHPUnit assertions for type checks 2020-08-10 12:54:10 +02:00
AttributeManagerTest.php phpcs: Break long lines 2020-06-27 12:05:03 +02:00
ContainmentSetTest.php Use absolute class names in @covers tags 2019-10-23 12:23:09 +02:00
DiscussionParserTest.php Use more specific PHPUnit assertions for type checks 2020-08-10 12:54:10 +02:00
EchoDbFactoryTest.php Use absolute class names in @covers tags 2019-10-23 12:23:09 +02:00
EchoHooksTest.php Don't override checkmatrix defaults set elsewhere 2018-09-20 17:15:09 -07:00
EchoSummaryParserTest.php Stop using PHPUnit deprecated methods 2020-01-14 15:59:46 +00:00
NotificationsTest.php Use absolute class names in @covers tags 2019-10-23 12:23:09 +02:00
NotificationStructureTest.php Add a test to validate $wgEchoNotifications 2018-10-10 19:07:04 -07:00
NotifUserTest.php Use absolute class names in @covers tags 2019-10-23 12:23:09 +02:00
TalkPageFunctionalTest.php phpcs: Break long lines 2020-06-27 12:05:03 +02:00
ThankYouEditTest.php Update hooks to use PageSaveComplete 2020-06-26 15:59:04 +00:00
UserLocatorTest.php Merge "Use absolute class names in @covers tags" 2019-10-24 18:37:15 +00:00