diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-27 16:14:37 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-27 16:14:37 +0200 |
commit | 59dac4b4a0ed6525b705c44b929ffe131abdaad0 (patch) | |
tree | 9df8d43a3abaaf0645168c9c46bd2265c33b1581 /tests/storagetest.cpp | |
parent | d334f52950ca2f91bdfe1854e4257d9ab4118ec2 (diff) | |
download | sink-59dac4b4a0ed6525b705c44b929ffe131abdaad0.tar.gz sink-59dac4b4a0ed6525b705c44b929ffe131abdaad0.zip |
Fixed storagetest
Diffstat (limited to 'tests/storagetest.cpp')
-rw-r--r-- | tests/storagetest.cpp | 2 |
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 | ||