diff --git a/autotests/favoritestest.cpp b/autotests/favoritestest.cpp index 8b8d018..1a43a2f 100644 --- a/autotests/favoritestest.cpp +++ b/autotests/favoritestest.cpp @@ -111,7 +111,8 @@ void FavoriteProxyTest::testReordering() const QModelIndex firstRowIndex = orderProxy->index(0, 0); QVERIFY(firstRowIndex.isValid()); QCOMPARE(firstRowIndex.data().toString(), QStringLiteral("res2")); - QVERIFY((orderProxy->flags(firstRowIndex) & Qt::ItemIsDropEnabled) == 0); + // we can drop emails + QVERIFY((orderProxy->flags(firstRowIndex) & Qt::ItemIsDropEnabled) != 0); } #include "favoritestest.moc"