improve automated tests

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Matthieu Gallien 2023-05-16 11:36:46 +02:00 committed by Matthieu Gallien
parent 14bce6fdc2
commit 8faab817a0

View file

@ -53,7 +53,7 @@ private slots:
{
}
void testSuccessfulFetchShares()
void testSettingConflicts()
{
auto dir = QTemporaryDir {};
ConfigFile::setConfDir(dir.path()); // we don't want to pollute the user's config file
@ -109,7 +109,6 @@ private slots:
QCOMPARE(model.data(model.index(0), static_cast<int>(SyncConflictsModel::SyncConflictRoles::ExistingSelected)), false);
QCOMPARE(model.data(model.index(0), static_cast<int>(SyncConflictsModel::SyncConflictRoles::ConflictSelected)), false);
}
};
QTEST_GUILESS_MAIN(TestSyncConflictsModel)