From 59dac4b4a0ed6525b705c44b929ffe131abdaad0 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 27 Jul 2018 16:14:37 +0200 Subject: Fixed storagetest --- tests/storagetest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: db.write(key.toInternalByteArray(), "value1"); key.setRevision(10); db.write(key.toInternalByteArray(), "value2"); - db.findLatest(uid, [&](const QByteArray &key, const QByteArray &value) { result = value; }); + db.findLatest(id.toInternalByteArray(), [&](const QByteArray &key, const QByteArray &value) { result = value; }); QCOMPARE(result, QByteArray("value2")); } -- cgit v1.2.3