added failed webhook call to tests

This commit is contained in:
Joe Dowd 2020-08-24 22:10:49 +01:00
parent 75a62a5729
commit 3066a077c7

View file

@ -16,12 +16,21 @@
"privateDBSchema": "./databases/_private.db.sql", "privateDBSchema": "./databases/_private.db.sql",
"mode": "test", "mode": "test",
"readOnly": false, "readOnly": false,
"webhooks": [{ "webhooks": [
"url": "http://127.0.0.1:8081/CustomWebhook", {
"key": "superSecretKey", "url": "http://127.0.0.1:8081/CustomWebhook",
"scopes": [ "key": "superSecretKey",
"vote.up", "scopes": [
"vote.down" "vote.up",
] "vote.down"
}] ]
}, {
"url": "http://127.0.0.1:8081/FailedWebhook",
"key": "superSecretKey",
"scopes": [
"vote.up",
"vote.down"
]
}
]
} }