mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
Remove redundant clone in auth storage test
This commit is contained in:
@@ -388,10 +388,7 @@ fn keyring_auth_storage_delete_removes_keyring_and_file() -> anyhow::Result<()>
|
||||
fn auto_auth_storage_load_prefers_keyring_value() -> anyhow::Result<()> {
|
||||
let codex_home = tempdir()?;
|
||||
let mock_keyring = MockKeyringStore::default();
|
||||
let storage = AutoAuthStorage::new(
|
||||
codex_home.path().to_path_buf(),
|
||||
Arc::new(mock_keyring.clone()),
|
||||
);
|
||||
let storage = AutoAuthStorage::new(codex_home.path().to_path_buf(), Arc::new(mock_keyring));
|
||||
let keyring_auth = auth_with_prefix("keyring");
|
||||
storage.keyring_storage.save(&keyring_auth)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user