From 2aa0b55f78bc5dc3620545e7a21c28aea0b25d65 Mon Sep 17 00:00:00 2001 From: Laurent Date: Wed, 30 Apr 2025 10:28:37 +0200 Subject: [PATCH] refactoring --- PadelClubDataTests/SynchronizationTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PadelClubDataTests/SynchronizationTests.swift b/PadelClubDataTests/SynchronizationTests.swift index 21cc0fb..06e117a 100644 --- a/PadelClubDataTests/SynchronizationTests.swift +++ b/PadelClubDataTests/SynchronizationTests.swift @@ -56,10 +56,10 @@ struct SynchronizationTests { } // Cleanup - let eventCollection1: SyncedCollection = StoreCenter.main.mainStore.registerSynchronizedCollection(synchronized: true) + let eventCollection1: SyncedCollection = StoreCenter.main.mainStore.registerSynchronizedCollection(synchronousLoading: true) await eventCollection1.deleteAsync(contentOfs: Array(eventCollection1)) - let eventCollection2: SyncedCollection = self.secondStoreCenter.mainStore.registerSynchronizedCollection(synchronized: true) + let eventCollection2: SyncedCollection = self.secondStoreCenter.mainStore.registerSynchronizedCollection(synchronousLoading: true) eventCollection2.clear() // Create