aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/tests/legacysubscriber/legacysubscriber.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config/src/tests/legacysubscriber/legacysubscriber.cpp')
-rw-r--r--config/src/tests/legacysubscriber/legacysubscriber.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/config/src/tests/legacysubscriber/legacysubscriber.cpp b/config/src/tests/legacysubscriber/legacysubscriber.cpp
index 031f3f76f00..feae0a1d1a4 100644
--- a/config/src/tests/legacysubscriber/legacysubscriber.cpp
+++ b/config/src/tests/legacysubscriber/legacysubscriber.cpp
@@ -1,7 +1,6 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastos/fastos.h>
#include <vespa/vespalib/testkit/test_kit.h>
-#include <vespa/vespalib/testkit/testapp.h>
#include <vespa/config/helper/legacysubscriber.h>
#include <fstream>
#include <config-my.h>
@@ -28,8 +27,7 @@ struct ConfigIdGenerator
{
static std::string id(const std::string &type, const std::string &name)
{
- return std::string(type + ":" +
- vespalib::TestApp::GetSourceDirectory() + name);
+ return std::string(type + ":" + TEST_PATH(name));
}
};