mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 08:23:52 +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
658 B
JSON
38 lines
658 B
JSON
[
|
|
{
|
|
"placeholderHeading": false,
|
|
"type": "heading",
|
|
"range": [
|
|
"1/0/0",
|
|
"1/0/1"
|
|
],
|
|
"headingLevel": 2,
|
|
"level": 0,
|
|
"name": "h-Matma_Rex-2022-02-16T00:03:00.000Z",
|
|
"id": "h-e-2022-02-16T00:03:00.000Z",
|
|
"warnings": [],
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2022-02-16T00:03:00.000Z",
|
|
"author": "Matma Rex",
|
|
"range": [
|
|
"1/2/0",
|
|
"1/2/2/30"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"1/2/1",
|
|
"1/2/2/30"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"name": "c-Matma_Rex-2022-02-16T00:03:00.000Z",
|
|
"id": "c-Matma_Rex-2022-02-16T00:03:00.000Z-e",
|
|
"warnings": [],
|
|
"replies": []
|
|
}
|
|
]
|
|
}
|
|
]
|