diff options
Diffstat (limited to 'searchcommon/src/tests/schema')
-rw-r--r-- | searchcommon/src/tests/schema/schema_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcommon/src/tests/schema/schema_test.cpp b/searchcommon/src/tests/schema/schema_test.cpp index 56154c7a7d4..0bac074b43a 100644 --- a/searchcommon/src/tests/schema/schema_test.cpp +++ b/searchcommon/src/tests/schema/schema_test.cpp @@ -161,7 +161,7 @@ TEST("testLoadAndSave") { { // load from config -> save to file -> load from file Schema s; - SchemaConfigurer configurer(s, "dir:."); + SchemaConfigurer configurer(s, "dir:" + vespalib::TestApp::GetSourceDirectory()); EXPECT_EQUAL(3u, s.getNumIndexFields()); assertIndexField(SIF("a", SDT::STRING), s.getIndexField(0)); assertIndexField(SIF("b", SDT::INT64), s.getIndexField(1)); |