diff options
Diffstat (limited to 'ozone/src/auth.rs')
| -rw-r--r-- | ozone/src/auth.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ozone/src/auth.rs b/ozone/src/auth.rs index 057cceb..712bd4d 100644 --- a/ozone/src/auth.rs +++ b/ozone/src/auth.rs @@ -290,7 +290,7 @@ mod test { async fn abc() { simple_logger::SimpleLogger::new().with_colors(true).with_level(log::LevelFilter::Trace).init().unwrap(); - let mut user = match tokio::fs::read_to_string("test_stuff/test.json").await { + let mut user = match tokio::fs::read_to_string("../test_stuff/test.json").await { Ok(s) => serde_json::from_str::<MsaUser>(&s).unwrap(), Err(e) if e.kind() == tokio::io::ErrorKind::NotFound => { MsaUser { @@ -331,6 +331,6 @@ mod test { debug!("User: {user:?}"); let user_str = serde_json::to_string_pretty(&user).unwrap(); - tokio::fs::write("test_stuff/test.json", user_str.as_str()).await.unwrap(); + tokio::fs::write("../test_stuff/test.json", user_str.as_str()).await.unwrap(); } } |
