Repository navigation
Test su piano delle notifiche e sync EventKit (#19) - #72
Merged
Merged
Conversation
Estratte NotificationService.resyncSchedule (i 60 avvisi più vicini del riallineamento) e CalendarSyncService.mayCreateEvent (niente doppioni di eventi di altri dispositivi o di occorrenze non trovate) per testarle senza UNUserNotificationCenter né EKEventStore. Nuovi test su promemoria, scadenza, "Parti ora", limite del riallineamento, sottotitoli degli avvisi. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017XBLVjiycwGNo1fkMCGFiV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Parte di #19 (copertura dei test su sync e notifiche).
Modifiche
NotificationService.resyncSchedule(for:now:): la scelta dei 60 avvisi più vicini fatta daresyncAllè ora una funzione statica testabile (comportamento invariato).CalendarSyncService.mayCreateEvent(linkedKey:syncedIdentifier:): la regola che evita di creare doppioni ([P0][Bug] Sync EventKit + iCloud: eventi duplicati e cancellati a ping-pong tra Mac e iPhone #1 evento di un altro dispositivo, [P0][Bug] Eventi ricorrenti del calendario di sistema importati come un'unica istanza #2 occorrenza non trovata) è estratta dapushsenza cambiarne la logica.CalenTaskTests/NotificationSyncTests.swift:mayCreateEvent.🤖 Generated with Claude Code
https://claude.ai/code/session_017XBLVjiycwGNo1fkMCGFiV
Generated by Claude Code