From 2b517b2fd28e804e82036f55967a1777c1b8d2e9 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 15 Dec 2016 11:15:34 +0100 Subject: Made references serializable so we can store them in config files --- tests/accountstest.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') 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: Store::fetchAll(Query()).syncThen>([&](const QList &identities) { QCOMPARE(identities.size(), 1); + QCOMPARE(identities.first()->getName(), smtpServer); + QCOMPARE(identities.first()->getAddress(), smtpUsername); + QCOMPARE(identities.first()->getAccount(), account.identifier()); }) .exec().waitForFinished(); -- cgit v1.2.3