summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-01 04:50:26 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-01 04:50:26 +0300
commit7df01a8695e46e7e8cce603782f0e16caf54169b (patch)
tree030a0125429c9605c24ad74e3d523fd900f155cd /src/gui/widgets/browserbox_unittest.cc
parent0f172abb004bed203f8bf329e4f43eb174a8a58c (diff)
downloadplus-7df01a8695e46e7e8cce603782f0e16caf54169b.tar.gz
plus-7df01a8695e46e7e8cce603782f0e16caf54169b.tar.bz2
plus-7df01a8695e46e7e8cce603782f0e16caf54169b.tar.xz
plus-7df01a8695e46e7e8cce603782f0e16caf54169b.zip
Fix tests running without physfs.
Diffstat (limited to 'src/gui/widgets/browserbox_unittest.cc')
-rw-r--r--src/gui/widgets/browserbox_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/browserbox_unittest.cc b/src/gui/widgets/browserbox_unittest.cc
index 4e2244a2f..0dd8af585 100644
--- a/src/gui/widgets/browserbox_unittest.cc
+++ b/src/gui/widgets/browserbox_unittest.cc
@@ -175,6 +175,8 @@ TEST_CASE("BrowserBox tests", "browserbox")
Widget::setGlobalFont(nullptr);
delete box;
delete2(client);
+ VirtFs::removeDirFromSearchPath("data");
+ VirtFs::removeDirFromSearchPath("../data");
delete2(logger);
// VirtFs::deinit();
}