Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(test): use full paths in session support tests

Steven Enamakel85d143b7ce72
diff --git a/crates/openhuman-core/src/security/credentials/session_support_tests.rs b/crates/openhuman-core/src/security/credentials/session_support_tests.rs
index c25a461bb6..e19a27e8b2 100644
--- a/crates/openhuman-core/src/security/credentials/session_support_tests.rs
+++ b/crates/openhuman-core/src/security/credentials/session_support_tests.rs
@@ -277,13 +277,13 @@ fn build_session_state_prefers_the_api_key_over_a_present_session() {
true,
)
.expect("store session token");
- super::api_key::store_api_key(&config, "th_test_key").expect("store api key");
+ crate::security::credentials::api_key::store_api_key(&config, "th_test_key").expect("store api key");
let state = build_session_state(&config).unwrap();
assert!(state.is_authenticated);
assert_eq!(
state.credential.as_deref(),
- Some(super::responses::CREDENTIAL_API_KEY),
+ Some(crate::security::credentials::responses::CREDENTIAL_API_KEY),
"the api key must win when both credentials are present: {state:?}"
);
assert!(