Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

webhooks: Fix invalid JSON in Dialogflow test fixtures.

Anders Kaseorgec6856bc3bcb
diff --git a/zerver/webhooks/dialogflow/fixtures/alternate_result.json b/zerver/webhooks/dialogflow/fixtures/alternate_result.json
index f77416d9d8a..58fcb0236ee 100644
--- a/zerver/webhooks/dialogflow/fixtures/alternate_result.json
+++ b/zerver/webhooks/dialogflow/fixtures/alternate_result.json
@@ -34,7 +34,7 @@
"alternateResult": {
"fulfillment": {
"speech": "Weather in New Delhi is nice!"
- },
+ }
},
"status": {
"code": 200,
diff --git a/zerver/webhooks/dialogflow/fixtures/error_status.json b/zerver/webhooks/dialogflow/fixtures/error_status.json
index 346a12d4f83..22b79024dfe 100644
--- a/zerver/webhooks/dialogflow/fixtures/error_status.json
+++ b/zerver/webhooks/dialogflow/fixtures/error_status.json
@@ -3,7 +3,7 @@
"timestamp": "2018-01-12T12:22:31.283Z",
"lang": "en",
"result": {
- "resolvedQuery": "what's the weather in New Delhi",
+ "resolvedQuery": "what's the weather in New Delhi"
},
"status": {
"code": 403,
diff --git a/zerver/webhooks/dialogflow/fixtures/exception.json b/zerver/webhooks/dialogflow/fixtures/exception.json
index 2a8ac4fc386..decc2b6ef2f 100644
--- a/zerver/webhooks/dialogflow/fixtures/exception.json
+++ b/zerver/webhooks/dialogflow/fixtures/exception.json
@@ -34,7 +34,7 @@
"alternateResult": {
"fulfillment": {
"speech": ""
- },
+ }
},
"status": {
"code": 200,