aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/tests/repo/documenttyperepo_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'document/src/tests/repo/documenttyperepo_test.cpp')
-rw-r--r--document/src/tests/repo/documenttyperepo_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/tests/repo/documenttyperepo_test.cpp b/document/src/tests/repo/documenttyperepo_test.cpp
index c53661cc170..93e08e2667f 100644
--- a/document/src/tests/repo/documenttyperepo_test.cpp
+++ b/document/src/tests/repo/documenttyperepo_test.cpp
@@ -441,7 +441,7 @@ TEST("requireThatDocumentLookupChecksName") {
}
TEST("requireThatBuildFromConfigWorks") {
- DocumentTypeRepo repo(readDocumenttypesConfig(vespalib::TestApp::GetSourceDirectory() + "documenttypes.cfg"));
+ DocumentTypeRepo repo(readDocumenttypesConfig(TEST_PATH("documenttypes.cfg")));
ASSERT_TRUE(repo.getDocumentType("document"));
ASSERT_TRUE(repo.getDocumentType("types"));
ASSERT_TRUE(repo.getDocumentType("types_search"));