summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-27 16:14:37 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-27 16:14:37 +0200
commit59dac4b4a0ed6525b705c44b929ffe131abdaad0 (patch)
tree9df8d43a3abaaf0645168c9c46bd2265c33b1581 /tests
parentd334f52950ca2f91bdfe1854e4257d9ab4118ec2 (diff)
downloadsink-59dac4b4a0ed6525b705c44b929ffe131abdaad0.tar.gz
sink-59dac4b4a0ed6525b705c44b929ffe131abdaad0.zip
Fixed storagetest
Diffstat (limited to 'tests')
-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