mediawiki-extensions-Discus.../tests/phpunit
Bartosz Dziewoński 77614a2d02 tests: Fix root node / container handling
Since times immemorial, and for reasons lost to history, our test code
was adding an extra <div> wrapper before parsing the HTML used for
tests. This wasn't a problem, until now, because I want to add some
tests for T303396 that need to check that the *real* wrappers present
in some test cases are handled correctly.

Changes to test cases mostly remove a leading "0/" from serialized
ranges, corresponding to removing the extra wrapper.

Change-Id: Ia50e3590538c8cd274b02d2a937ba1a3fbb4ac89
2022-03-10 18:43:58 +01:00
..
unit Improve detecting already signed comments 2022-02-21 21:21:26 +00:00
CommentFormatterTest.php Change CommentParser into a service 2022-02-19 19:51:57 +01:00
CommentModifierTest.php tests: Fix root node / container handling 2022-03-10 18:43:58 +01:00
CommentParserTest.php tests: Fix root node / container handling 2022-03-10 18:43:58 +01:00
CommentUtilsTest.php tests: Fix root node / container handling 2022-03-10 18:43:58 +01:00
EventDispatcherTest.php tests: Fix root node / container handling 2022-03-10 18:43:58 +01:00
IntegrationTestCase.php Set $wgUsePigLatinVariant = false while running tests 2021-12-01 23:25:30 +01:00
LanguageDataTest.php Change CommentParser into a service 2022-02-19 19:51:57 +01:00
MockCommentFormatter.php Change CommentParser into a service 2022-02-19 19:51:57 +01:00
MockEventDispatcher.php Split off ThreadItemSet from CommentParser 2022-02-21 16:22:32 +00:00
MockLanguageData.php Change CommentParser into a service 2022-02-19 19:51:57 +01:00
MockSubscriptionStore.php Automatic topic subscriptions (on any edit) 2021-11-15 22:45:42 +01:00
TestUtils.php tests: Fix root node / container handling 2022-03-10 18:43:58 +01:00
ThreadItemTest.php tests: Fix root node / container handling 2022-03-10 18:43:58 +01:00