summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-17 05:57:30 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-17 05:57:30 (GMT)
commita19ba4d1ac691a2c24284599f90351ac23dd03f7 (patch)
tree131b81719f4ab3d1cf50ea58b84fc6c60f49d39e
parent54b2a3dfe34520517edb87ff70d9760ece454446 (diff)
Make sure to clean up identities
-rw-r--r--messagecomposer/autotests/messagefactorytest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/messagecomposer/autotests/messagefactorytest.cpp b/messagecomposer/autotests/messagefactorytest.cpp
index a49cb10..e91798d 100644
--- a/messagecomposer/autotests/messagefactorytest.cpp
+++ b/messagecomposer/autotests/messagefactorytest.cpp
@@ -154,6 +154,8 @@ void MessageFactoryTest::testCreateReply()
QCOMPARE(reply.msg->subject()->asUnicodeString(), QLatin1String("Re: Test Email Subject"));
QCOMPARE_OR_DIFF(reply.msg->body(), replyStr.toLatin1());
delete identMan;
+ QDir dir(QDir::homePath() + QStringLiteral("/.qttest/"));
+ dir.removeRecursively();
}
void MessageFactoryTest::testCreateReplyHtml()