summaryrefslogtreecommitdiffstats
path: root/tests/testmerge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testmerge.cpp')
-rw-r--r--tests/testmerge.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testmerge.cpp b/tests/testmerge.cpp
index e710de66e..238044739 100644
--- a/tests/testmerge.cpp
+++ b/tests/testmerge.cpp
@@ -5,12 +5,14 @@
#include "core/divesite.h"
#include "core/file.h"
#include "core/trip.h"
+#include "core/pref.h"
#include <QTextStream>
void TestMerge::initTestCase()
{
/* we need to manually tell that the resource exists, because we are using it as library. */
Q_INIT_RESOURCE(subsurface);
+ prefs.cloud_base_url = strdup(default_prefs.cloud_base_url);
}
void TestMerge::cleanup()