diff --git a/test/extensions/filters/http/oauth2/oauth_integration_test.cc b/test/extensions/filters/http/oauth2/oauth_integration_test.cc index 0788c5d2b3b9a..f1ec679be0915 100644 --- a/test/extensions/filters/http/oauth2/oauth_integration_test.cc +++ b/test/extensions/filters/http/oauth2/oauth_integration_test.cc @@ -91,8 +91,6 @@ TEST_F(OauthIntegrationTest, UnauthenticatedFlow) { {":authority", "authority"}}; auto encoder_decoder = codec_client_->startRequest(headers); - Buffer::OwnedImpl buffer; - encoder_decoder.first.encodeData(buffer, true); request_encoder_ = &encoder_decoder.first; auto response = std::move(encoder_decoder.second); @@ -144,4 +142,4 @@ TEST_F(OauthIntegrationTest, AuthenticationFlow) { } // namespace Oauth } // namespace HttpFilters } // namespace Extensions -} // namespace Envoy \ No newline at end of file +} // namespace Envoy