aboutsummaryrefslogtreecommitdiffstats
path: root/memfilepersistence/src/tests/helper/testhelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'memfilepersistence/src/tests/helper/testhelper.cpp')
-rw-r--r--memfilepersistence/src/tests/helper/testhelper.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/memfilepersistence/src/tests/helper/testhelper.cpp b/memfilepersistence/src/tests/helper/testhelper.cpp
index 13950026b22..94fc21c5140 100644
--- a/memfilepersistence/src/tests/helper/testhelper.cpp
+++ b/memfilepersistence/src/tests/helper/testhelper.cpp
@@ -86,8 +86,7 @@ vdstestlib::DirConfig getStandardConfig(bool storagenode) {
config->set("maxconcurrentvisitors_fixed", "4");
config->set("maxconcurrentvisitors_variable", "0");
config = &dc.addConfig("stor-visitordispatcher");
- addFileConfig(dc, "documenttypes",
- vespalib::TestApp::GetSourceDirectory() + "config-doctypes.cfg");
+ addFileConfig(dc, "documenttypes", TEST_PATH("config-doctypes.cfg"));
addStorageDistributionConfig(dc);
return dc;
}