summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/s-0007.json
blob: aa7f19003478412d45342dac504c8d73444d6d37 (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
{
	"description": "Test output of `Special:UnusedProperties` (`wgContLang=en`, `wgLang=en`, skip-on sqlite, 1.19)",
	"setup": [
		{
			"namespace": "SMW_NS_PROPERTY",
			"page": "Unused typed property",
			"contents": "[[Has type::Page]] [[Has property description::Typed property@en]]"
		}
	],
	"beforeTest": {
		"maintenance-run": {
			"rebuildPropertyStatistics": true
		}
	},
	"tests": [
		{
			"type": "special",
			"about": "#0 (whether to appear in the list of unused properties without subproperty)",
			"special-page": {
				"page": "UnusedProperties",
				"query-parameters": [],
				"request-parameters": []
			},
			"assert-output": {
				"to-contain": [
					"Property:Unused typed property"
				]
			}
		}
	],
	"settings": {
		"wgContLang": "en",
		"wgLang": "en"
	},
	"meta": {
		"skip-on": {
			"sqlite": "Returns a `database is locked`",
			"mw-1.19.20": "The table update on 1.19 lacks behind"
		},
		"version": "2",
		"is-incomplete": false,
		"debug": false
	}
}