jenkins-bot has submitted this change and it was merged.

Change subject: Add test that verifies ExternalData can be only top-level
......................................................................


Add test that verifies ExternalData can be only top-level

Bug: T145845
Change-Id: I130a83d456427b17d4160224bbec80a4c46b3806
---
A tests/phpunit/data/bad-schemas/51-externaldata-16.json
1 file changed, 17 insertions(+), 0 deletions(-)

Approvals:
  Yurik: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/phpunit/data/bad-schemas/51-externaldata-16.json 
b/tests/phpunit/data/bad-schemas/51-externaldata-16.json
new file mode 100644
index 0000000..d40dde2
--- /dev/null
+++ b/tests/phpunit/data/bad-schemas/51-externaldata-16.json
@@ -0,0 +1,17 @@
+[
+       {
+               "type": "ExternalData",
+               "service": "geoshape",
+               "query": "foo"
+       },
+       {
+               "type": "FeatureCollection",
+               "features": [
+                       {
+                               "type": "ExternalData",
+                               "service": "geoshape",
+                               "query": "foo"
+                       }
+               ]
+       }
+]
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/312335
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I130a83d456427b17d4160224bbec80a4c46b3806
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Kartographer
Gerrit-Branch: master
Gerrit-Owner: MaxSem <maxsem.w...@gmail.com>
Gerrit-Reviewer: Yurik <yu...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to