summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0111.json
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0111.json')
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0111.json35
1 files changed, 35 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0111.json b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0111.json
new file mode 100644
index 00000000..2a35981b
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0111.json
@@ -0,0 +1,35 @@
+{
+ "description": "Test reserved property names",
+ "setup": [
+ {
+ "namespace": "SMW_NS_PROPERTY",
+ "page": "Category",
+ "contents": "[[Has type::Page]]"
+ }
+ ],
+ "tests": [
+ {
+ "type": "parser",
+ "about": "#0 reserved category name",
+ "namespace": "SMW_NS_PROPERTY",
+ "subject": "Category",
+ "assert-output": {
+ "onPageView": {},
+ "to-contain": [
+ "<div id=\"smw-property-name-reserved\" class=\"plainlinks smw-callout smw-callout-error\">"
+ ]
+ }
+ }
+ ],
+ "settings": {
+ "wgContLang": "en",
+ "smwgPageSpecialProperties": [
+ "_MDAT"
+ ]
+ },
+ "meta": {
+ "version": "2",
+ "is-incomplete": false,
+ "debug": false
+ }
+} \ No newline at end of file