test: expect correct status code
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user