mirror of
https://github.com/openai/codex.git
synced 2026-05-12 23:32:44 +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(
|
||||
auth_manager,
|
||||
"http://localhost".to_string(),
|
||||
None,
|
||||
/*analytics_enabled*/ None,
|
||||
AuthManagerRetention::Strong,
|
||||
);
|
||||
|
||||
@@ -822,7 +822,7 @@ async fn non_owning_client_does_not_retain_auth_manager() {
|
||||
let _client = AnalyticsEventsClient::new(
|
||||
Arc::clone(&auth_manager),
|
||||
"http://localhost".to_string(),
|
||||
None,
|
||||
/*analytics_enabled*/ None,
|
||||
AuthManagerRetention::Weak,
|
||||
);
|
||||
drop(auth_manager);
|
||||
|
||||
Reference in New Issue
Block a user