mediawiki-extensions-Discus.../tests/phpunit
Bartosz Dziewoński 5a07139249 CommentFormatterTest: Avoid re-serializing the HTML
The code we're testing already produces a string of serialized HTML,
no need to parse and re-serialize it.

Also, we recently learned that the precise format matters here
(T274709), and now this test *actually* covers the fix for that bug.
Follow-up to 5b26e9664b.

As a downside, this test might now spuriously fail if the format of
the output of Parsoid's XMLSerializer changes. Hopefully that won't
happen too often.

Change-Id: I69b514f545e47dcb437fb39a83edb8e2f19ed99b
2021-03-01 21:30:28 +01:00
..
unit Improve signature detection to handle formatting on the timestamp 2021-02-27 02:33:30 +01:00
CommentFormatterTest.php CommentFormatterTest: Avoid re-serializing the HTML 2021-03-01 21:30:28 +01:00
CommentModifierTest.php Make CommentUtilsTest a proper unit test 2021-02-02 15:37:17 +01:00
CommentParserTest.php Make CommentUtilsTest a proper unit test 2021-02-02 15:37:17 +01:00
DataTest.php Make CommentUtilsTest a proper unit test 2021-02-02 15:37:17 +01:00
IntegrationTestCase.php Make CommentUtilsTest a proper unit test 2021-02-02 15:37:17 +01:00
MockCommentFormatter.php Make CommentUtilsTest a proper unit test 2021-02-02 15:37:17 +01:00
TestUtils.php CommentFormatterTest: Avoid re-serializing the HTML 2021-03-01 21:30:28 +01:00
ThreadItemTest.php Make CommentUtilsTest a proper unit test 2021-02-02 15:37:17 +01:00