summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-10-28 09:19:29 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-10-29 08:29:43 (GMT)
commit8d00f8f0fba5c953edf45545056b0051558ce5b7 (patch)
tree26933faaae46dcacdca4280f547c15c351ce72ad
parentc8d3b8ad843d11e7bf1326189d0cd9ec43b74c19 (diff)
downloadlibkolab-8d00f8f0fba5c953edf45545056b0051558ce5b7.tar.gz
Ignore the kolab version number in the tests.
It changed from 3.0dev to 3.1.0.
-rw-r--r--tests/testutils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testutils.h b/tests/testutils.h
index 8f0dcbd..b118d86 100644
--- a/tests/testutils.h
+++ b/tests/testutils.h
@@ -105,6 +105,7 @@ void normalizeMimemessage(QString &content)
content.replace(QRegExp("<uri>data:*</uri>", Qt::CaseSensitive, QRegExp::Wildcard), "<uri>data:</uri>");
content.replace(QRegExp("<last-modification-date>*</last-modification-date>", Qt::CaseSensitive, QRegExp::Wildcard), "<last-modification-date></last-modification-date>");
content.replace(QRegExp("<timestamp>*</timestamp>", Qt::CaseSensitive, QRegExp::Wildcard), "<timestamp></timestamp>");
+ content.replace(QRegExp("<x-kolab-version>*</x-kolab-version>", Qt::CaseSensitive, QRegExp::Wildcard), "<x-kolab-version></x-kolab-version>");
content.replace(QRegExp("--nextPart\\S*", Qt::CaseSensitive), "--part");
content.replace(QRegExp("\\bboundary=\"nextPart[^\\n]*", Qt::CaseSensitive), "boundary");