summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-08-31 05:09:05 (GMT)
committerMontel Laurent <montel@kde.org>2016-08-31 05:09:05 (GMT)
commita101d9fbab9c231417cce886503d5370a5c4bf43 (patch)
treeebb4ee163ed2e216c6992c6194e0cd10c91a1f3a
parent50da613c6a64f875f6b10061a98174615ee47dbc (diff)
Add autotests
-rw-r--r--messagecomposer/src/composer-ng/autotests/richtextcomposerngtest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/messagecomposer/src/composer-ng/autotests/richtextcomposerngtest.cpp b/messagecomposer/src/composer-ng/autotests/richtextcomposerngtest.cpp
index eaaafdd..d8de69b 100644
--- a/messagecomposer/src/composer-ng/autotests/richtextcomposerngtest.cpp
+++ b/messagecomposer/src/composer-ng/autotests/richtextcomposerngtest.cpp
@@ -136,8 +136,8 @@ void RichTextComposerNgTest::shouldAddSignature()
QCOMPARE(richtextComposerNg.toPlainText(), expected);
richtextComposerNg.setPlainText(QStringLiteral("foo bla, bli\nbb"));
- richtextComposerNg.insertSignature(newSignature, KIdentityManagement::Signature::Start, KIdentityManagement::Signature::AddNewLines);
- expected = QStringLiteral("\n\nSignature\nfoo bla, bli\nbb");
+ richtextComposerNg.insertSignature(newSignature, KIdentityManagement::Signature::Start, KIdentityManagement::Signature::AddNothing);
+ expected = QStringLiteral("Signaturefoo bla, bli\nbb");
QCOMPARE(richtextComposerNg.toPlainText(), expected);
}