Skip to content

Commit fbf1d89

Browse files
Keep unauthenticated session test isolated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: da0a9335-969e-4a77-838a-daac9206a454
1 parent d8e0e1d commit fbf1d89

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

rust/tests/e2e/per_session_auth.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,11 @@ async fn session_auth_status_is_unauthenticated_without_token() {
9999
"session_auth_status_is_unauthenticated_without_token",
100100
|ctx| {
101101
Box::pin(async move {
102-
let client = ctx.start_client().await;
102+
let client = github_copilot_sdk::Client::start(
103+
ctx.client_options().with_use_logged_in_user(false),
104+
)
105+
.await
106+
.expect("start client");
103107
let session = client
104108
.create_session(
105109
SessionConfig::default()

0 commit comments

Comments
 (0)