stable
Clone or download
Read-only
In order to decrease the responsibilities of EmailNotificationAttachmentProvider, the buidv of the calendar event data is delegated to a dedicated object. No functional changes. Part of story #35094: have "calendar" events attached to tracker email notification Change-Id: Ic4f788ff15707485269bbb963ae00b6ade199c5f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/ActionsRunner.php | +2 | −1 | Go to diff View file |
A | plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/BuildCalendarEventData.php | +37 | −0 | Go to diff View file |
R | plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/CalendarEventData.php | Go to diff View file | ||
A | plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/CalendarEventDataBuilder.php | +72 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/EmailNotificationAttachmentProvider.php | +4 | −39 | Go to diff View file |
A | plugins/tracker/tests/unit/Stub/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/BuildCalendarEventDataStub.php | +67 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Artifact/Changeset/PostCreation/CalendarEvent/CalendarEventDataBuilderTest.php | +139 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Artifact/Changeset/PostCreation/EmailNotificationAttachmentProviderTest.php | +26 | −90 | Go to diff View file |