test(rmcp-client): fix rebased streamable http tests

This commit is contained in:
Casey Chow
2026-03-06 10:54:49 -05:00
parent abfe4b8187
commit 07c216be7e
3 changed files with 3 additions and 1 deletions

View File

@@ -14,8 +14,8 @@ use futures::StreamExt;
use futures::future::BoxFuture;
use futures::stream::BoxStream;
use oauth2::TokenResponse;
use reqwest::header::ACCEPT;
use reqwest::cookie::Jar;
use reqwest::header::ACCEPT;
use reqwest::header::AUTHORIZATION;
use reqwest::header::CONTENT_TYPE;
use reqwest::header::HeaderMap;

View File

@@ -173,6 +173,7 @@ async fn streamable_http_client_replays_affinity_cookie_from_initialize_response
Ok(ElicitationResponse {
action: ElicitationAction::Accept,
content: Some(json!({})),
meta: None,
})
}
.boxed()

View File

@@ -77,6 +77,7 @@ async fn create_client(base_url: &str) -> anyhow::Result<RmcpClient> {
None,
None,
OAuthCredentialsStoreMode::File,
None,
)
.await?;