summaryrefslogtreecommitdiff
path: root/test/storage/storage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/storage/storage.cpp')
-rw-r--r--test/storage/storage.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/storage/storage.cpp b/test/storage/storage.cpp
index 99386a02ce..ddc6fef5fb 100644
--- a/test/storage/storage.cpp
+++ b/test/storage/storage.cpp
@@ -1,9 +1,11 @@
#include "storage.hpp"
+#include <mbgl/platform/platform.hpp>
+
pid_t Storage::pid = 0;
void Storage::SetUpTestCase() {
- const auto server = mbgl::test::getBaseDirectory() + "/storage/server.js";
+ const auto server = mbgl::platform::applicationRoot() + "/TEST_DATA/storage/server.js";
pid = mbgl::test::startServer(server.c_str());
}