From 378b48dcac8289deea6b2d3633bbf4a281bf14a7 Mon Sep 17 00:00:00 2001 From: Abyan Nawaz Date: Wed, 16 Oct 2024 21:49:35 -0400 Subject: [PATCH] lint fix --- backend/internal/handlers/friendship/friendship_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/handlers/friendship/friendship_test.go b/backend/internal/handlers/friendship/friendship_test.go index e094b94..d9291f1 100644 --- a/backend/internal/handlers/friendship/friendship_test.go +++ b/backend/internal/handlers/friendship/friendship_test.go @@ -184,7 +184,7 @@ for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { // Mock the CreateFriendship function behavior based on the test case - mockStore.CreateFriendshipFn = func(ctx context.Context, friendship models.Friendship) error { + mockStore.CreateFriendshipFn = func(_ context.Context, friendship models.Friendship) error { return tt.mockResponse }