mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-28 15:53:21 +00:00
77614a2d02
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
38 lines
679 B
JSON
38 lines
679 B
JSON
[
|
|
{
|
|
"placeholderHeading": false,
|
|
"type": "heading",
|
|
"range": [
|
|
"1/1/0",
|
|
"1/1/1"
|
|
],
|
|
"headingLevel": 2,
|
|
"level": 0,
|
|
"name": "h-145.133.2.174-2017-12-28T15:32:00.000Z",
|
|
"id": "h-joods?-2017-12-28T15:32:00.000Z",
|
|
"warnings": [],
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2017-12-28T15:32:00.000Z",
|
|
"author": "145.133.2.174",
|
|
"range": [
|
|
"3/0",
|
|
"5/2/0"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"5/1/3",
|
|
"5/1/8/26"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"name": "c-145.133.2.174-2017-12-28T15:32:00.000Z",
|
|
"id": "c-145.133.2.174-2017-12-28T15:32:00.000Z-joods?",
|
|
"warnings": [],
|
|
"replies": []
|
|
}
|
|
]
|
|
}
|
|
]
|