Commit 8d0bfbda authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

FavoriteProxyTest: adapt test for dropping option on favourites

ace9cfb4 enabled dropping of emails
on favourites, but missed to adapt the test.
parent 94d13094
Pipeline #74070 passed with stage
in 22 minutes and 9 seconds
......@@ -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"
......
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