update the dump so it doesn't contains the null-uuid webhook

This commit is contained in:
Tamo
2025-08-05 16:21:14 +02:00
parent 4f6a48c327
commit 2b5b41790e
2 changed files with 0 additions and 12 deletions

View File

@ -457,22 +457,10 @@ pub(crate) mod test {
");
// webhooks
// Important note: You might be surprised to see the cli webhook in the dump, as it's not supposed to be saved.
// This is because the dump comes from a version that did save it.
// It's no longer the case, but that's not what this test is about.
// It's ok to see the cli webhook disappear when this test gets updated.
let webhooks = dump.webhooks().unwrap();
insta::assert_json_snapshot!(webhooks, @r#"
{
"webhooks": {
"00000000-0000-0000-0000-000000000000": {
"url": "https://defined-in-dump.com/",
"headers": {
"Authorization": "Bearer defined in dump"
}
},
"627ea538-733d-4545-8d2d-03526eb381ce": {
"url": "https://example.com/authorization-less",
"headers": {}