From 88dbaff17c48f744ed9e504d3b7a0a1cdf9b5aba Mon Sep 17 00:00:00 2001 From: Tamara deMent Date: Fri, 31 Jul 2026 13:34:39 -0400 Subject: [PATCH] Update delete event test for jwt config value param --- core/calendar_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/calendar_test.go b/core/calendar_test.go index 07d98e5..3e69b86 100644 --- a/core/calendar_test.go +++ b/core/calendar_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/stretchr/testify/require" "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" "golang.org/x/oauth2/jwt" ) @@ -31,7 +31,7 @@ func TestInsertOOOEvent_ReturnsErrorsForInvalidRequests(t *testing.T) { func TestDeleteOOOEvents_ReturnsErrorsForFailedDeletes(t *testing.T) { ctx := context.Background() - jwtCfg := &jwt.Config{} + jwtCfg := jwt.Config{} events := []GoogleCalendarEvent{ { @@ -51,4 +51,4 @@ func TestDeleteOOOEvents_ReturnsErrorsForFailedDeletes(t *testing.T) { assert.Contains(t, err.Error(), "calendar-1") assert.Contains(t, err.Error(), "event-2") assert.Contains(t, err.Error(), "calendar-2") -} \ No newline at end of file +}