FavoriteProxyTest: adapt test for dropping option on favourites

ace9cfb460 enabled dropping of emails
on favourites, but missed to adapt the test.
wilder-portage
Friedrich W. H. Kossebau 5 years ago
parent 94d13094ee
commit 8d0bfbda8d
  1. 3
      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"

Loading…
Cancel
Save