mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-24 12:35:31 +00:00
fix: reset env after test run
This commit is contained in:
parent
f6a28aa226
commit
aa1df5c74e
1 changed files with 2 additions and 0 deletions
|
|
@ -482,6 +482,8 @@ mod tests {
|
|||
#[cfg(test)]
|
||||
async fn clear_data_store_temp_dir(temp_dir: PathBuf) {
|
||||
tokio::fs::remove_dir_all(temp_dir).await.unwrap();
|
||||
|
||||
std::env::remove_var("STORE_PATH");
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
|
|
|
|||
Loading…
Reference in a new issue