refactor: move ensure_secret_key_exists into key.rs

This commit is contained in:
link2xt
2026-06-20 20:06:45 +00:00
committed by l
parent c026910fa7
commit 0a82d73eb5
7 changed files with 39 additions and 41 deletions

View File

@@ -232,9 +232,7 @@ impl TestContextManager {
test_context.set_primary_self_addr(new_addr).await.unwrap();
// ensure_secret_key_exists() is called during configure
crate::e2ee::ensure_secret_key_exists(test_context)
.await
.unwrap();
key::ensure_secret_key_exists(test_context).await.unwrap();
assert_eq!(
test_context.get_primary_self_addr().await.unwrap(),