Skip to content

Commit

Permalink
fix(api): resole linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gacevicljubisa committed Oct 22, 2024
1 parent 144702d commit 7e51fea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/api/router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ func TestEndpointOptions(t *testing.T) {
}

for _, tc := range testCases {
tc := tc
t.Run(tc.name, func(t *testing.T) {
t.Parallel()

Expand All @@ -420,6 +421,7 @@ func TestEndpointOptions(t *testing.T) {
}

for _, tt := range tc.expectedStatuses {
tt := tt
t.Run(tc.name+routeToName(tt.route), func(t *testing.T) {
resp := jsonhttptest.Request(t, testServer, http.MethodOptions, tt.route, tt.expectedStatus)

Expand Down

0 comments on commit 7e51fea

Please sign in to comment.