stable

Clone or download

Read-only

refactoring: Extract retrieval of the event summary

In order to decrease the responsibilities of EmailNotificationAttachmentProvider, the retrieval of the event summary is delegated to a dedicated object. No functional changes. Part of story #35094: have "calendar" events attached to tracker email notification Change-Id: Ied6146df6df43c3d6abd677cc7755fb987695063

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/ActionsRunner.php +6 −1 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/EventSummaryRetriever.php +67 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/RetrieveEventSummary.php +36 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/EmailNotificationAttachmentProvider.php +3 −38 Go to diff View file
A plugins/tracker/tests/unit/Stub/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/RetrieveEventSummaryStub.php +53 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/EventSummaryRetrieverTest.php +147 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Changeset/PostCreation/EmailNotificationAttachmentProviderTest.php +9 −93 Go to diff View file