From b0982395e70744123e62620c3d671a6b9a95f574 Mon Sep 17 00:00:00 2001 From: Evan Merlock Date: Thu, 26 Dec 2024 11:55:33 -0600 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Nathaniel Caza --- app/initstores.go | 2 +- test/smoke/webhook_signing_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/initstores.go b/app/initstores.go index 57b917c0df..28049278f9 100644 --- a/app/initstores.go +++ b/app/initstores.go @@ -128,7 +128,7 @@ func (app *App) initStores(ctx context.Context) error { if app.WebhookKeyring == nil { app.WebhookKeyring, err = keyring.NewDB(ctx, app.cfg.LegacyLogger, app.db, &keyring.Config{ - Name: "webhook-keys", + Name: "webhook-signature-keys", MaxOldKeys: 100, Keys: app.cfg.EncryptionKeys, }) diff --git a/test/smoke/webhook_signing_test.go b/test/smoke/webhook_signing_test.go index 21fb765b3f..d5ee0e9b57 100644 --- a/test/smoke/webhook_signing_test.go +++ b/test/smoke/webhook_signing_test.go @@ -16,7 +16,7 @@ type WebhookTestingSign struct { Signature string } -func TestWebhookCorrectlySigns(t *testing.T) { +func TestWebhookSigning(t *testing.T) { t.Parallel() ch := make(chan WebhookTestingSign, 1)