From 8834bb81ebc983b73da4c0bea323e973e125187b Mon Sep 17 00:00:00 2001 From: Massimiliano Mirra Date: Sat, 2 Sep 2023 14:03:58 +0100 Subject: [PATCH] fix: update test --- pkg/http/github_webhook_trigger_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/http/github_webhook_trigger_test.go b/pkg/http/github_webhook_trigger_test.go index b8f2cb8f..f8e27ff9 100644 --- a/pkg/http/github_webhook_trigger_test.go +++ b/pkg/http/github_webhook_trigger_test.go @@ -380,7 +380,7 @@ func TestGithubContainerRegistryWebhookHandler(t *testing.T) { if err != nil { t.Fatalf("failed to create req: %s", err) } - req.Header.Set("X-GitHub-Event", "package_v2") + req.Header.Set("X-GitHub-Event", "package") //The response recorder used to record HTTP responses rec := httptest.NewRecorder()