summaryrefslogtreecommitdiffstats
path: root/tests/testrenumber.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testrenumber.cpp')
-rw-r--r--tests/testrenumber.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testrenumber.cpp b/tests/testrenumber.cpp
index af5bd0203..69ab15b22 100644
--- a/tests/testrenumber.cpp
+++ b/tests/testrenumber.cpp
@@ -21,7 +21,7 @@ void TestRenumber::testMerge()
struct device_table devices;
struct filter_preset_table filter_presets;
QCOMPARE(parse_file(SUBSURFACE_TEST_DATA "/dives/test47b.xml", &table, &trips, &sites, &devices, &filter_presets), 0);
- add_imported_dives(&table, &trips, &sites, IMPORT_MERGE_ALL_TRIPS);
+ add_imported_dives(&table, &trips, &sites, &devices, IMPORT_MERGE_ALL_TRIPS);
QCOMPARE(dive_table.nr, 1);
QCOMPARE(unsaved_changes(), 1);
mark_divelist_changed(false);
@@ -35,7 +35,7 @@ void TestRenumber::testMergeAndAppend()
struct device_table devices;
struct filter_preset_table filter_presets;
QCOMPARE(parse_file(SUBSURFACE_TEST_DATA "/dives/test47c.xml", &table, &trips, &sites, &devices, &filter_presets), 0);
- add_imported_dives(&table, &trips, &sites, IMPORT_MERGE_ALL_TRIPS);
+ add_imported_dives(&table, &trips, &sites, &devices, IMPORT_MERGE_ALL_TRIPS);
QCOMPARE(dive_table.nr, 2);
QCOMPARE(unsaved_changes(), 1);
struct dive *d = get_dive(1);