mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
added failed webhook call to tests
This commit is contained in:
parent
75a62a5729
commit
3066a077c7
1 changed files with 17 additions and 8 deletions
25
test.json
25
test.json
|
@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue