diff --git a/transport/token_source_test.go b/transport/token_source_test.go index 6d61caca..7c2ff6e2 100644 --- a/transport/token_source_test.go +++ b/transport/token_source_test.go @@ -176,17 +176,6 @@ func TestCancellation(t *testing.T) { header: map[string][]string{"Authorization": {"Bearer TOKEN"}}, expectCancel: true, }, - { - name: "cancel req without bearer token hits both rts", - expectCancel: true, - }, - { - name: "cancel req without bearer token hits both wrapped rts", - wrapTransport: func(rt http.RoundTripper) http.RoundTripper { - return NewUserAgentRoundTripper("testing testing", rt) - }, - expectCancel: true, - }, { name: "can't cancel request with rts that doesn't implent unwrap or cancel", wrapTransport: func(rt http.RoundTripper) http.RoundTripper {