summaryrefslogtreecommitdiffstats
path: root/tests/storagetest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/storagetest.cpp')
-rw-r--r--tests/storagetest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storagetest.cpp b/tests/storagetest.cpp
index e165616..60e947d 100644
--- a/tests/storagetest.cpp
+++ b/tests/storagetest.cpp
@@ -505,7 +505,7 @@ private slots:
505 db.write(key.toInternalByteArray(), "value1"); 505 db.write(key.toInternalByteArray(), "value1");
506 key.setRevision(10); 506 key.setRevision(10);
507 db.write(key.toInternalByteArray(), "value2"); 507 db.write(key.toInternalByteArray(), "value2");
508 db.findLatest(uid, [&](const QByteArray &key, const QByteArray &value) { result = value; }); 508 db.findLatest(id.toInternalByteArray(), [&](const QByteArray &key, const QByteArray &value) { result = value; });
509 QCOMPARE(result, QByteArray("value2")); 509 QCOMPARE(result, QByteArray("value2"));
510 } 510 }
511 511