From d4f1c2c95c7dc5610954ce3d352954895da4d1a3 Mon Sep 17 00:00:00 2001 From: dripsmvcp <138900956+dripsmvcp@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:23:39 -0700 Subject: [PATCH] fix(go-models): remove duplicate roundTripperFunc from novita_test.go (#15492) Remove duplicated function --- internal/entity/models/novita_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/entity/models/novita_test.go b/internal/entity/models/novita_test.go index 43d12b0c1..fb3c81f7f 100644 --- a/internal/entity/models/novita_test.go +++ b/internal/entity/models/novita_test.go @@ -9,12 +9,6 @@ import ( "testing" ) -type roundTripperFunc func(*http.Request) (*http.Response, error) - -func (f roundTripperFunc) RoundTrip(r *http.Request) (*http.Response, error) { - return f(r) -} - func newNovitaServer(t *testing.T, expectedPath string, handler func(t *testing.T, body map[string]interface{}, w http.ResponseWriter)) *httptest.Server { t.Helper() return httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {