gplx/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/special-wanted-properties-0...

53 lines
1.1 KiB
JSON

{
"description": "Test output of `Special:WantedProperties` (`wgContLang=en`, `wgLang=en`, skip-on sqlite)",
"setup": [
{
"page": "Example/SW0001/1",
"contents": "[[Has property without type::123]]"
},
{
"page": "Example/SW0001/2",
"contents": "[[Has property without type::456]]"
},
{
"page": "Example/SW0001/3",
"contents": "[[Has property without type::789]]"
}
],
"beforeTest": {
"maintenance-run": {
"rebuildPropertyStatistics": true
}
},
"tests": [
{
"type": "special",
"about": "#0 (whether to appear on the list of wanted properties)",
"skip-on": {
"mediawiki": [ ">1.42.x", "Skipping, broken due to wiki page creation failure in test setup" ]
},
"special-page": {
"page": "WantedProperties",
"query-parameters": [],
"request-parameters": []
},
"assert-output": {
"to-contain": [
"Property:Has property without type (page does not exist)"
]
}
}
],
"settings": {
"wgContLang": "en",
"wgLang": "en"
},
"meta": {
"skip-on": {
"sqlite": "Returns a `database is locked`"
},
"version": "2",
"is-incomplete": false,
"debug": false
}
}