aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testrenumber.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testrenumber.cpp')
-rw-r--r--tests/testrenumber.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testrenumber.cpp b/tests/testrenumber.cpp
index 2c4921461..1796928cb 100644
--- a/tests/testrenumber.cpp
+++ b/tests/testrenumber.cpp
@@ -5,10 +5,12 @@
#include "core/divesite.h"
#include "core/trip.h"
#include "core/file.h"
+#include "core/pref.h"
#include <QTextStream>
void TestRenumber::setup()
{
+ prefs.cloud_base_url = strdup(default_prefs.cloud_base_url);
QCOMPARE(parse_file(SUBSURFACE_TEST_DATA "/dives/test47.xml", &dive_table, &trip_table, &dive_site_table, &device_table, &filter_preset_table), 0);
process_loaded_dives();
}