mediawiki-extensions-Echo/tests/phpunit
Roan Kattouw 98370e8c83 ContainmentSet: Use strict comparison for array_search()
Otherwise, if $list->getValues() contains the number 0,
any non-numerical string will match, because 'foo'==0 is true.

This, in combination with a broken maintenance script that had
inserted 0s into some users' blacklist, broke all notifications
for those users.

Bug: T177825
Change-Id: If8700b4d0de0fdba876eb9d5cc4997e185dfeb3c
2017-10-14 16:31:13 -07:00
..
api build: Updating mediawiki/mediawiki-codesniffer to 0.9.0 2017-06-22 14:13:28 +00:00
cache build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
controller build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
gateway Always return false on EchoUserNotificationGateway::markRead 2017-10-06 22:22:33 +00:00
iterator build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
maintenance build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
mapper Remove reference to deprecated IDatabase->nextSequenceValue() 2017-09-06 13:05:14 -04:00
model build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
revision_txt Avoid unintended mentions when changing content 2017-03-01 11:58:08 +00:00
AttributeManagerTest.php build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
BundlerTest.php build: Updating mediawiki/mediawiki-codesniffer to 0.9.0 2017-06-22 14:13:28 +00:00
ContainmentSetTest.php ContainmentSet: Use strict comparison for array_search() 2017-10-14 16:31:13 -07:00
DiffParserTest.php Fix mentions failing editing empty pages 2017-02-10 14:39:13 +00:00
DiscussionParserTest.php Use namespaced ScopedCallback 2017-08-21 14:05:11 -07:00
EchoDbFactoryTest.php build: Updating mediawiki/mediawiki-codesniffer to 13.0.0 2017-09-24 09:49:43 +00:00
NotifUserTest.php Fix unread notification count caching 2016-12-09 09:23:59 -05:00
TalkPageFunctionalTest.php build: Updating mediawiki/mediawiki-codesniffer to 13.0.0 2017-09-24 09:49:43 +00:00
ThankYouEditTest.php Run MWEchoThankYouEditTest on clean DB tables 2017-03-22 16:32:49 -04:00
UserLocatorTest.php build: Updating mediawiki/mediawiki-codesniffer to 0.9.0 2017-06-22 14:13:28 +00:00