summaryrefslogtreecommitdiffstats
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 003bd1698af..c53661cc170 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("documenttypes.cfg"));
+ DocumentTypeRepo repo(readDocumenttypesConfig(vespalib::TestApp::GetSourceDirectory() + "documenttypes.cfg"));
ASSERT_TRUE(repo.getDocumentType("document"));
ASSERT_TRUE(repo.getDocumentType("types"));
ASSERT_TRUE(repo.getDocumentType("types_search"));