mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
tests: Rebuild expected 'timestamplink' output
When rebuilding expected outputs by running the tests with 'DISCUSSIONTOOLS_OVERWRITE_TESTS=1', our code outputs the JSON keys in a specific order (not alphabetical). Change-Id: Ice57948ef1d4b780ae18cfcbb2e7373f518c8abc
This commit is contained in:
parent
85f75fb8ed
commit
37257d68cf
|
@ -1,43 +1,43 @@
|
|||
[
|
||||
{
|
||||
"headingLevel": 2,
|
||||
"id": "h-Hello-20240130095300",
|
||||
"level": 0,
|
||||
"name": "h-Alice-20240130095300",
|
||||
"placeholderHeading": false,
|
||||
"type": "heading",
|
||||
"range": [
|
||||
"1/3/2/0",
|
||||
"1/3/2/3"
|
||||
],
|
||||
"headingLevel": 2,
|
||||
"level": 0,
|
||||
"name": "h-Alice-20240130095300",
|
||||
"id": "h-Hello-20240130095300",
|
||||
"warnings": [],
|
||||
"replies": [
|
||||
{
|
||||
"type": "comment",
|
||||
"timestamp": "20240130095300",
|
||||
"author": "Alice",
|
||||
"id": "c-Alice-20240130095300-Hello",
|
||||
"level": 1,
|
||||
"name": "c-Alice-20240130095300",
|
||||
"range": [
|
||||
"3/2",
|
||||
"3/12/0"
|
||||
],
|
||||
"replies": [],
|
||||
"signatureRanges": [
|
||||
[
|
||||
"3/3",
|
||||
"3/8"
|
||||
]
|
||||
],
|
||||
"timestamp": "20240130095300",
|
||||
"timestampRanges": [
|
||||
[
|
||||
"3/7/0/0",
|
||||
"3/7/0/28"
|
||||
]
|
||||
],
|
||||
"type": "comment",
|
||||
"warnings": []
|
||||
}
|
||||
],
|
||||
"type": "heading",
|
||||
"warnings": []
|
||||
"level": 1,
|
||||
"name": "c-Alice-20240130095300",
|
||||
"id": "c-Alice-20240130095300-Hello",
|
||||
"warnings": [],
|
||||
"replies": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue