mediawiki-extensions-Discus.../tests/phpunit
Bartosz Dziewoński 08b467bf9f tests: Fix wrong $rootNode in some tests using CommentParser::getComments()
Rather than the <body> node, we were passing <body>'s first child.
Current implementation of CommentParser::getComments() doesn't fail
the tests in spite of this because the XPath query incorrectly returns
results relative to the document's real root node, but these tests
would start failing after I2441f33e6e7bad753ac830d277e6a2e81ee8c93d.

Follow-up to 3e6ab2c4d2.

Change-Id: Ic26e0a1ee4443987e215c5f26ef1f084ccd0b40b
2020-07-15 16:40:30 +00:00
..
CommentModifierTest.php tests: Fix wrong $rootNode in some tests using CommentParser::getComments() 2020-07-15 16:40:30 +00:00
CommentParserTest.php tests: Fix wrong $rootNode in some tests using CommentParser::getComments() 2020-07-15 16:40:30 +00:00
CommentTestCase.php PHP: Use DOMUtils::parseHTML 2020-06-26 20:06:47 +01:00