diff options
Diffstat (limited to 'tests/testparse.cpp')
-rw-r--r-- | tests/testparse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testparse.cpp b/tests/testparse.cpp index 1a4c0eac5..7a65a0105 100644 --- a/tests/testparse.cpp +++ b/tests/testparse.cpp @@ -83,7 +83,7 @@ void TestParse::testParseDivingLog() // Parsing of DivingLog import from SQLite database sqlite3 *handle; - struct dive_site *ds = alloc_dive_site(0xdeadbeef); + struct dive_site *ds = alloc_or_get_dive_site(0xdeadbeef); ds->name = copy_string("Suomi - - Hälvälä"); QCOMPARE(sqlite3_open(SUBSURFACE_SOURCE "/dives/TestDivingLog4.1.1.sql", &handle), 0); |