Commit 124af150 authored by Laurent Montel's avatar Laurent Montel 😁

Fix autotest

parent 1fbfaede
......@@ -80,6 +80,9 @@ void SieveScriptDebuggerFrontEndWidgetTest::shouldChangeButtonEnabledState()
emailPath->setUrl(QUrl::fromLocalFile(QStringLiteral("/")));
QPushButton *debugScriptButton = w.findChild<QPushButton *>(QStringLiteral("debugbutton"));
QVERIFY(!debugScriptButton->isEnabled());
w.setScript(QStringLiteral("foo"));
QVERIFY(debugScriptButton->isEnabled());
emailPath->setUrl(QUrl::fromLocalFile(QStringLiteral(" ")));
......
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