Skip to content

Commit cdf3f87

Browse files
committed
RUST-1663: Use proper user name
1 parent 2cc918d commit cdf3f87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/spec/oidc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ async fn human_multiple_principal_user1() -> anyhow::Result<()> {
214214
let call_count = Arc::new(Mutex::new(0));
215215
let cb_call_count = call_count.clone();
216216

217-
let mut opts = ClientOptions::parse(mongodb_uri_multi!("user1")).await?;
217+
let mut opts = ClientOptions::parse(mongodb_uri_multi!("test_user1")).await?;
218218
opts.credential = Credential::builder()
219219
.mechanism(AuthMechanism::MongoDbOidc)
220220
.oidc_callback(oidc::Callback::human(move |_| {
@@ -264,7 +264,7 @@ async fn human_multiple_principal_user2() -> anyhow::Result<()> {
264264
let call_count = Arc::new(Mutex::new(0));
265265
let cb_call_count = call_count.clone();
266266

267-
let mut opts = ClientOptions::parse(mongodb_uri_multi!("user2")).await?;
267+
let mut opts = ClientOptions::parse(mongodb_uri_multi!("test_user2")).await?;
268268
opts.credential = Credential::builder()
269269
.mechanism(AuthMechanism::MongoDbOidc)
270270
.oidc_callback(oidc::Callback::human(move |_| {

0 commit comments

Comments
 (0)