diff --git a/axum/src/test_helpers/test_client.rs b/axum/src/test_helpers/test_client.rs index 3786ee1855..7a177aa569 100644 --- a/axum/src/test_helpers/test_client.rs +++ b/axum/src/test_helpers/test_client.rs @@ -168,10 +168,6 @@ impl TestResponse { self.response.json().await.unwrap() } - pub(crate) fn headers(&self) -> http::HeaderMap { - self.response.headers().clone() - } - pub(crate) async fn chunk(&mut self) -> Option { self.response.chunk().await.unwrap() }