|
|
|
|
@ -56,10 +56,10 @@ struct SynchronizationTests { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Cleanup |
|
|
|
|
let eventCollection1: SyncedCollection<Event> = StoreCenter.main.mainStore.registerSynchronizedCollection(synchronized: true) |
|
|
|
|
let eventCollection1: SyncedCollection<Event> = StoreCenter.main.mainStore.registerSynchronizedCollection(synchronousLoading: true) |
|
|
|
|
await eventCollection1.deleteAsync(contentOfs: Array(eventCollection1)) |
|
|
|
|
|
|
|
|
|
let eventCollection2: SyncedCollection<Event> = self.secondStoreCenter.mainStore.registerSynchronizedCollection(synchronized: true) |
|
|
|
|
let eventCollection2: SyncedCollection<Event> = self.secondStoreCenter.mainStore.registerSynchronizedCollection(synchronousLoading: true) |
|
|
|
|
eventCollection2.clear() |
|
|
|
|
|
|
|
|
|
// Create |
|
|
|
|
|