From 8faab817a093758860f45240107a4cfe4b3b6baf Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Tue, 16 May 2023 11:36:46 +0200 Subject: [PATCH] improve automated tests Signed-off-by: Matthieu Gallien --- test/testsyncconflictsmodel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/testsyncconflictsmodel.cpp b/test/testsyncconflictsmodel.cpp index 0eb9f6d07..de1596cc3 100644 --- a/test/testsyncconflictsmodel.cpp +++ b/test/testsyncconflictsmodel.cpp @@ -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(SyncConflictsModel::SyncConflictRoles::ExistingSelected)), false); QCOMPARE(model.data(model.index(0), static_cast(SyncConflictsModel::SyncConflictRoles::ConflictSelected)), false); } - }; QTEST_GUILESS_MAIN(TestSyncConflictsModel)