aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/notmuchfixture.h2
-rw-r--r--tests/test_tagcolors.cpp12
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/notmuchfixture.h b/tests/notmuchfixture.h
index 38e2f15..4d2e59b 100644
--- a/tests/notmuchfixture.h
+++ b/tests/notmuchfixture.h
@@ -77,7 +77,7 @@ public:
QTextStream out(&file);
out << "From: " << from << "\n"
- << "To: danix@danix.xyz\n"
+ << "To: you@example.org\n"
<< "Subject: " << subject << "\n"
<< "Message-ID: <" << messageId << ">\n"
<< "Date: " << date << "\n";
diff --git a/tests/test_tagcolors.cpp b/tests/test_tagcolors.cpp
index 1d5efdc..0b47e7b 100644
--- a/tests/test_tagcolors.cpp
+++ b/tests/test_tagcolors.cpp
@@ -190,18 +190,18 @@ void TestTagColors::accountLabelDefaultsToTheKey()
void TestTagColors::accountLabelCanBeOverridden()
{
- // "account-provider-work" is 33 characters of chip for what is
- // really one bit of information, so the label is configurable.
+ // A real account tag can run to 33 characters of chip for what is really
+ // one bit of information, so the label is configurable.
TagColors colours;
colours.setAccountLabel(QStringLiteral("webmail-personal"),
QStringLiteral("WM-personal"));
- colours.setAccountLabel(QStringLiteral("provider-personal"),
- QStringLiteral("PR-personal"));
+ colours.setAccountLabel(QStringLiteral("provider-work"),
+ QStringLiteral("PR-work"));
QCOMPARE(colours.labelForAccountTag(QStringLiteral("account-webmail-personal")),
QStringLiteral("WM-personal"));
- QCOMPARE(colours.labelForAccountTag(QStringLiteral("account-provider-personal")),
- QStringLiteral("PR-personal"));
+ QCOMPARE(colours.labelForAccountTag(QStringLiteral("account-provider-work")),
+ QStringLiteral("PR-work"));
// An account left unlabelled still falls back to its key.
QCOMPARE(colours.labelForAccountTag(QStringLiteral("account-work")),