mediawiki-extensions-Discus.../tests/phpunit
Bartosz Dziewoński 80704b6e80 Test cases for interactions with events generated by base Echo
Adding test cases in a separate commit to make it easier to review how
the test results change after I98fbca8e.

* For mentions, the 'mentioned-users' extra parameter is copied to our
  event (which is then used to avoid duplicate notifications).
* For user talk page edit, nothing special happens right now (we use
  the target page title to avoid duplicate notifications, but this is
  not apparent from the test case, since page titles are not present).

Bug: T281590
Bug: T253082
Change-Id: I153e7735f63f1e2643ed881281d807313cd699c3
2021-08-01 12:27:33 +02:00
..
unit Use DOMCompat::newDocument() to create a new Document 2021-07-30 18:15:11 -04:00
CommentFormatterTest.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
CommentModifierTest.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
CommentParserTest.php Don't refer directly to PHP dom extension classes; avoid nonstandard behavior 2021-07-30 18:15:40 -04:00
DataTest.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
EventDispatcherTest.php Test cases for interactions with events generated by base Echo 2021-08-01 12:27:33 +02:00
IntegrationTestCase.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
MockCommentFormatter.php Don't refer directly to PHP dom extension classes; avoid nonstandard behavior 2021-07-30 18:15:40 -04:00
MockEventDispatcher.php Add PHPUnit integration tests for EventDispatcher 2021-07-24 05:28:04 +02:00
MockSubscriptionStore.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
TestUtils.php Don't refer directly to PHP dom extension classes; avoid nonstandard behavior 2021-07-30 18:15:40 -04:00
ThreadItemTest.php build: Updating dependencies 2021-07-22 16:29:04 +00:00