Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abyan-n committed Oct 17, 2024
1 parent bfffd54 commit 378b48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/internal/handlers/friendship/friendship_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Check failure on line 187 in backend/internal/handlers/friendship/friendship_test.go

View workflow job for this annotation

GitHub Actions / lint

unused-parameter: parameter 'friendship' seems to be unused, consider removing or renaming it as _ (revive)
return tt.mockResponse
}

Expand Down

0 comments on commit 378b48d

Please sign in to comment.