Commit 7f979f33 authored by Sandro Knauß's avatar Sandro Knauß
Browse files

cleanup EncryptJobTest::testHeaders

parent 881604a1
......@@ -120,10 +120,8 @@ void EncryptJobTest::testHeaders()
{
std::vector< GpgME::Key > keys = MessageComposer::Test::getKeys();
MessageComposer::Composer *composer = new MessageComposer::Composer;
MessageComposer::EncryptJob *eJob = new MessageComposer::EncryptJob(composer);
MessageComposer::EncryptJob *eJob = new MessageComposer::EncryptJob(this);
QVERIFY(composer);
QVERIFY(eJob);
QByteArray data(QString::fromLocal8Bit("one flew over the cuckoo's nest").toUtf8());
......@@ -145,7 +143,6 @@ void EncryptJobTest::testHeaders()
KMime::Content *result = eJob->content();
result->assemble();
qDebug() << result->encodedContent();
QVERIFY(result->contentType(false));
QCOMPARE(result->contentType()->mimeType(), mimeType);
......
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