Remove redundant clone in auth storage test

This commit is contained in:
mikhail-oai
2026-03-19 20:18:45 -04:00
parent 15563e1e9d
commit 1f24a3e2c7

View File

@@ -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)?;