Commit 9ed17f3f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Improve autotest

parent 80152cb3
......@@ -685,7 +685,8 @@ void MessageTest::testBugAttachment387423()
QCOMPARE(msg->subject()->as7BitString().data(), "Subject: XXXXXXXXXXXXXXXXXXXXX");
qDebug() << "msg->attachments() "<< msg->attachments();
QEXPECT_FAIL("", "Problem with searching attachment", Continue);
QVERIFY(msg->attachments().count() == 1);
QCOMPARE(msg->attachments().count(), 1);
QCOMPARE(msg->contents().count(), 2);
KMime::Content *attachment = msg->contents()[1];
QCOMPARE(attachment->contentType(false)->mediaType().data(), "image");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment