summaryrefslogtreecommitdiffstats
path: root/tests/accountstest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-15 11:15:34 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-15 11:15:34 +0100
commit2b517b2fd28e804e82036f55967a1777c1b8d2e9 (patch)
treea64dee652b7f61ebc0c45657321eb8f21f4f0829 /tests/accountstest.cpp
parent42f70f035f7c7799ace26f6dfc85d189ec27f5ae (diff)
downloadsink-2b517b2fd28e804e82036f55967a1777c1b8d2e9.tar.gz
sink-2b517b2fd28e804e82036f55967a1777c1b8d2e9.zip
Made references serializable so we can store them in config files
Diffstat (limited to 'tests/accountstest.cpp')
-rw-r--r--tests/accountstest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/accountstest.cpp b/tests/accountstest.cpp
index 029b92f..cce5c7b 100644
--- a/tests/accountstest.cpp
+++ b/tests/accountstest.cpp
@@ -76,6 +76,9 @@ private slots:
76 76
77 Store::fetchAll<Identity>(Query()).syncThen<void, QList<Identity::Ptr>>([&](const QList<Identity::Ptr> &identities) { 77 Store::fetchAll<Identity>(Query()).syncThen<void, QList<Identity::Ptr>>([&](const QList<Identity::Ptr> &identities) {
78 QCOMPARE(identities.size(), 1); 78 QCOMPARE(identities.size(), 1);
79 QCOMPARE(identities.first()->getName(), smtpServer);
80 QCOMPARE(identities.first()->getAddress(), smtpUsername);
81 QCOMPARE(identities.first()->getAccount(), account.identifier());
79 }) 82 })
80 .exec().waitForFinished(); 83 .exec().waitForFinished();
81 84