From 3066a077c7159227c7b6fdc176e373bc3b282194 Mon Sep 17 00:00:00 2001 From: Joe Dowd Date: Mon, 24 Aug 2020 22:10:49 +0100 Subject: [PATCH] added failed webhook call to tests --- test.json | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/test.json b/test.json index 922bdd2..4c36531 100644 --- a/test.json +++ b/test.json @@ -16,12 +16,21 @@ "privateDBSchema": "./databases/_private.db.sql", "mode": "test", "readOnly": false, - "webhooks": [{ - "url": "http://127.0.0.1:8081/CustomWebhook", - "key": "superSecretKey", - "scopes": [ - "vote.up", - "vote.down" - ] - }] + "webhooks": [ + { + "url": "http://127.0.0.1:8081/CustomWebhook", + "key": "superSecretKey", + "scopes": [ + "vote.up", + "vote.down" + ] + }, { + "url": "http://127.0.0.1:8081/FailedWebhook", + "key": "superSecretKey", + "scopes": [ + "vote.up", + "vote.down" + ] + } +] }