summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vrátil <dvratil@kde.org>2016-09-08 10:34:34 (GMT)
committerDaniel Vrátil <dvratil@kde.org>2016-09-08 10:34:34 (GMT)
commit99dc67b1134285abe32932e5f01f50ad0bca880e (patch)
tree0007b84e757334994ddfb2bc318389364e8f42d9
parenta290219c516eb2d2de955a7f1951e9a874608c82 (diff)
ItemStoreTest: check if RID is empty, not null
Again a difference in how different SQL backends treat NULL value vs. empty (but non-NULL) value.
-rw-r--r--autotests/libs/itemstoretest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/libs/itemstoretest.cpp b/autotests/libs/itemstoretest.cpp
index 53dc0dc..323b1f2 100644
--- a/autotests/libs/itemstoretest.cpp
+++ b/autotests/libs/itemstoretest.cpp
@@ -378,6 +378,6 @@ void ItemStoreTest::testRemoteIdRace()
ItemFetchJob *fetchJob = new ItemFetchJob(item2);
AKVERIFYEXEC(fetchJob);
QCOMPARE(fetchJob->items().size(), 1);
- QVERIFY(fetchJob->items().first().remoteId().isNull());
+ QVERIFY(fetchJob->items().first().remoteId().isEmpty());
}