mirror of
https://github.com/openai/codex.git
synced 2026-11-21 22:50:37 +00:00
[codex-analytics] fix auth retention test lint
This commit is contained in:
@@ -807,7 +807,7 @@ async fn default_client_retains_auth_manager() {
|
|||||||
let _client = AnalyticsEventsClient::new(
|
let _client = AnalyticsEventsClient::new(
|
||||||
auth_manager,
|
auth_manager,
|
||||||
"http://localhost".to_string(),
|
"http://localhost".to_string(),
|
||||||
None,
|
/*analytics_enabled*/ None,
|
||||||
AuthManagerRetention::Strong,
|
AuthManagerRetention::Strong,
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -822,7 +822,7 @@ async fn non_owning_client_does_not_retain_auth_manager() {
|
|||||||
let _client = AnalyticsEventsClient::new(
|
let _client = AnalyticsEventsClient::new(
|
||||||
Arc::clone(&auth_manager),
|
Arc::clone(&auth_manager),
|
||||||
"http://localhost".to_string(),
|
"http://localhost".to_string(),
|
||||||
None,
|
/*analytics_enabled*/ None,
|
||||||
AuthManagerRetention::Weak,
|
AuthManagerRetention::Weak,
|
||||||
);
|
);
|
||||||
drop(auth_manager);
|
drop(auth_manager);
|
||||||
|
|||||||
Reference in New Issue
Block a user