Skip to content

Commit 55851fc

Browse files
bertllllBert
andauthored
GH-791: Small fixes to stabilize tests in setup_reporter.rs (#443)
* GH-791: fixed * GH-791: put some explanatory lines back --------- Co-authored-by: Bert <[email protected]>
1 parent 6047a13 commit 55851fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

node/src/daemon/setup_reporter.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2703,6 +2703,7 @@ mod tests {
27032703

27042704
#[test]
27052705
fn config_file_not_specified_but_exists() {
2706+
let _guard = EnvironmentGuard::new();
27062707
let data_directory = ensure_node_home_directory_exists(
27072708
"setup_reporter",
27082709
"config_file_not_specified_but_exists",
@@ -2735,6 +2736,7 @@ mod tests {
27352736

27362737
#[test]
27372738
fn config_file_has_relative_directory_that_exists_in_data_directory() {
2739+
let _guard = EnvironmentGuard::new();
27382740
let data_directory = ensure_node_home_directory_exists(
27392741
"setup_reporter",
27402742
"config_file_has_relative_directory_that_exists_in_data_directory",

0 commit comments

Comments
 (0)