diff options
Diffstat (limited to 'server/src/routes')
| -rw-r--r-- | server/src/routes/ui/account/session/token.rs | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/server/src/routes/ui/account/session/token.rs b/server/src/routes/ui/account/session/token.rs index e40772a..1d191ec 100644 --- a/server/src/routes/ui/account/session/token.rs +++ b/server/src/routes/ui/account/session/token.rs @@ -72,6 +72,7 @@ pub fn validate(token: &str) -> anyhow::Result<String> {  #[test]  fn test() { +    jellybase::use_test_config();      let tok = create(          "blub".to_string(),          jellycommon::user::PermissionSet::default(), @@ -82,6 +83,7 @@ fn test() {  #[test]  fn test_crypto() { +    jellybase::use_test_config();      let nonce = [(); 12].map(|_| rand::random());      let cipher = aes_gcm_siv::Aes256GcmSiv::new_from_slice(&*SESSION_KEY).unwrap();      let plaintext = b"testing stuff---"; | 
