summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/q-0804.json
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/q-0804.json')
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/q-0804.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/q-0804.json b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/q-0804.json
new file mode 100644
index 00000000..735d2ee3
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/q-0804.json
@@ -0,0 +1,34 @@
+{
+ "description": "Test `_INST` with namespace prefix",
+ "setup": [
+ {
+ "page": "Example/Q0804/1",
+ "contents": "[[Category:Help:Q0804]]"
+ }
+ ],
+ "tests": [
+ {
+ "type": "query",
+ "about": "#0 (Category: is correctly parsed despite the Help: NS prefix)",
+ "condition": "[[Category:Help:Q0804]]",
+ "printouts": [],
+ "parameters": {
+ "limit": "10"
+ },
+ "assert-queryresult": {
+ "count": 1,
+ "results": [
+ "Example/Q0804/1#0##"
+ ]
+ }
+ }
+ ],
+ "settings": {
+ "wgContLang": "es"
+ },
+ "meta": {
+ "version": "2",
+ "is-incomplete": false,
+ "debug": false
+ }
+} \ No newline at end of file