Skip to content

Commit 8b9e633

Browse files
committed
changes
1 parent 7910a69 commit 8b9e633

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

codex-rs/core/src/auth.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,12 @@ mod tests {
474474
)
475475
.expect("failed to write auth file");
476476

477-
let auth_file = super::get_auth_file(codex_home.path());
477+
let storage = create_auth_storage(
478+
codex_home.path().to_path_buf(),
479+
AuthCredentialsStoreMode::File,
480+
);
478481
let updated = super::update_tokens(
479-
auth_file.as_path(),
482+
&storage,
480483
None,
481484
Some("new-access-token".to_string()),
482485
Some("new-refresh-token".to_string()),

0 commit comments

Comments
 (0)