diff --git a/internal/pkg/client/tempo/tempo_test.go b/internal/pkg/client/tempo/tempo_test.go index 00b9b1b..12ad8d7 100644 --- a/internal/pkg/client/tempo/tempo_test.go +++ b/internal/pkg/client/tempo/tempo_test.go @@ -38,8 +38,6 @@ type mockServerOpts struct { StatusCode int Username string Password string - Token string - TokenHeader string RequestData interface{} ResponseData *[]tempo.FetchEntry } @@ -55,11 +53,6 @@ func mockServer(t *testing.T, e *mockServerOpts) *httptest.Server { require.Equal(t, e.Password, password, "API call basic auth password mismatch") } - if e.Token != "" { - headerValue := r.Header.Get(e.TokenHeader) - require.Equal(t, e.Token, headerValue, "API call auth token mismatch") - } - if e.RequestData != nil { var data interface{}