summaryrefslogtreecommitdiffstats
path: root/tests/testAirPressure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testAirPressure.cpp')
-rw-r--r--tests/testAirPressure.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testAirPressure.cpp b/tests/testAirPressure.cpp
index 5bc8c5369..2a29fe813 100644
--- a/tests/testAirPressure.cpp
+++ b/tests/testAirPressure.cpp
@@ -13,6 +13,7 @@ void TestAirPressure::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 TestAirPressure::get_dives()