mediawiki-extensions-Echo/tests/phpunit/mapper
Stephane Bisson 61a839315a Use echo_event.event_page_id to find events to moderate
When pages are deleted or undeleted, their associated
Echo notifications also need to be marked as deleted
or undeleted. This is done by looking up the
echo_target_page table.

With this change, echo_event.event_page_id is also included
in the search. This way, all the events that don't use
target pages are also moderated when needed.

Bug: T217452
Change-Id: I277fca68ce088ab564e76ed9dfb2134ab3be4c4a
2019-04-11 10:48:49 -04:00
..
AbstractMapperTest.php Add type hints and remove unused code from tests 2019-02-20 19:16:33 +00:00
EchoAbstractMapperStub.php Fix multiple PHP class declarations in one file in tests 2018-01-22 16:27:07 +02:00
EchoExecuteFirstArgumentStub.php Fix multiple PHP class declarations in one file in tests 2018-01-22 16:27:07 +02:00
EventMapperTest.php Use echo_event.event_page_id to find events to moderate 2019-04-11 10:48:49 -04:00
NotificationMapperTest.php Mock IDatabase instead of DatabaseMysqli 2019-04-07 23:29:03 +00:00
TargetPageMapperTest.php Mock IDatabase instead of DatabaseMysqli 2019-04-07 23:29:03 +00:00