Commit a7f39f4e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix autotest

parent 3133ef1d
......@@ -33,7 +33,7 @@ SnippetCustomFileAttachmentNameWidgetTest::SnippetCustomFileAttachmentNameWidget
void SnippetCustomFileAttachmentNameWidgetTest::shouldHaveDefaultValues()
{
MailCommon::SnippetCustomFileAttachmentNameWidget w;
QHBoxLayout *mainLayout = w.findChild<QHBoxLayout *>(QStringLiteral("mainLayout"));
QVBoxLayout *mainLayout = w.findChild<QVBoxLayout *>(QStringLiteral("mainLayout"));
QVERIFY(mainLayout);
QCOMPARE(mainLayout->contentsMargins(), QMargins(0, 0, 0, 0));
......
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