summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/s-0006.json
blob: e1b724a473ff0fc82a6f51ab9b558b54dca92da5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
	"description": "Test output of `Special:WantedProperties` (`wgContLang=en`, `wgLang=en`, skip-on sqlite)",
	"setup": [
		{
			"page": "Example/S0006/1",
			"contents": "[[Has property without type::123]]"
		},
		{
			"page": "Example/S0006/2",
			"contents": "[[Has property without type::456]]"
		},
		{
			"page": "Example/S0006/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)",
			"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
	}
}