test: expect correct status code

This commit is contained in:
Mariell Hoversholm committed 2024-12-17 16:01:19 +01:00
1 parent e4aa316bcd
commit 46b9d5fc9e
1 file changed
+1 -1
@@ -74,7 +74,7 @@ func TestParseWebhooks(t *testing.T) {
},
}},
{"push", "ignored", provisioning.WebhookResponse{
Code: http.StatusOK, // parsed but nothing required
Code: http.StatusAccepted, // parsed but nothing required
}},
{"push", "nested", provisioning.WebhookResponse{
Code: http.StatusAccepted,