aboutsummaryrefslogtreecommitdiffstats
path: root/tests/filesystem/web_root_path_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/filesystem/web_root_path_test.php')
-rw-r--r--tests/filesystem/web_root_path_test.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/filesystem/web_root_path_test.php b/tests/filesystem/web_root_path_test.php
index 7b44ac8c67..3c530619dc 100644
--- a/tests/filesystem/web_root_path_test.php
+++ b/tests/filesystem/web_root_path_test.php
@@ -18,7 +18,9 @@ class phpbb_filesystem_web_root_path_test extends phpbb_test_case
$this->set_phpbb_root_path();
- $this->filesystem = new phpbb_filesystem($this->phpbb_root_path);
+ global $phpbb_filesystem;
+
+ $phpbb_filesystem = $this->filesystem = new phpbb_filesystem($this->phpbb_root_path);
}
/**