mediawiki-extensions-Discus.../tests/cases/EventDispatcher
Bartosz Dziewoński 47510a22f3 EventDispatcher: Fix ignoring level 3+ headings
The code (prior to d25825a754) assumed
that level 3+ headings would always follow a level 2 heading or the
placeholder heading, but we don't generate a placeholder heading if
there are no comments in section zero.

Add more tests to confirm that comments under level 3+ headings (that
are not sub-headings of level 2), and level 1 headings, are ignored
when generating notifications, and do not mess with normal headings.

Bug: T288775
Change-Id: Ic57b56752a4797cb01234f66e0ed7b849752bd70
2021-08-16 15:42:06 +00:00
..
emptysection Add PHPUnit integration tests for EventDispatcher 2021-07-24 05:28:04 +02:00
multiple Add PHPUnit integration tests for EventDispatcher 2021-07-24 05:28:04 +02:00
newsection Add PHPUnit integration tests for EventDispatcher 2021-07-24 05:28:04 +02:00
notcomments Add PHPUnit integration tests for EventDispatcher 2021-07-24 05:28:04 +02:00
other-events Test cases for interactions with events generated by base Echo 2021-08-01 12:27:33 +02:00
sametime Improve notifications for comments posted in close succession 2021-08-01 12:27:33 +02:00
section0 Fix notifications when new comment is under subheading 2021-07-24 05:28:10 +02:00
sectionlevel1 EventDispatcher: Fix ignoring level 3+ headings 2021-08-16 15:42:06 +00:00
sectionlevel3 EventDispatcher: Fix ignoring level 3+ headings 2021-08-16 15:42:06 +00:00
simple Add PHPUnit integration tests for EventDispatcher 2021-07-24 05:28:04 +02:00
subsection Fix notifications when new comment is under subheading 2021-07-24 05:28:10 +02:00
subsection-empty Fix notifications when new comment is under subheading 2021-07-24 05:28:10 +02:00
no-other-events.json Test cases for interactions with events generated by base Echo 2021-08-01 12:27:33 +02:00