stable
Clone or download
Read-only
In order to be able to move addReverseLinks from ArtifactCreator to TrackerArtifactCreator, we need first to extract it in a dedicated object. This decreases responsibilities of ArtifactCreator, and allow us to have a better test coverage of this new object. No functional changes. Part of request #36805: Kanban item not found when creating a card in Kanban Change-Id: I2d6e9cb35ee6bc4c8b10e3ab625c2315f7666d79
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/kanban/include/Kanban/REST/v1/KanbanItemsResource.php | +5 | −2 | Go to diff View file |
M | plugins/testmanagement/include/TestManagement/REST/v1/CampaignsResource.class.php | +5 | −2 | Go to diff View file |
M | plugins/testmanagement/include/TestManagement/REST/v1/ExecutionsResource.class.php | +5 | −2 | Go to diff View file |
A | plugins/tracker/include/REST/Artifact/AddReverseLinks.php | +42 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/Artifact/ArtifactCreator.php | +2 | −56 | Go to diff View file |
A | plugins/tracker/include/REST/Artifact/ReverseLinksAdder.php | +84 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/v1/ArtifactsResource.class.php | +5 | −2 | Go to diff View file |
A | plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/ConvertAddReverseLinks.php | +38 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/ReverseLinksToNewChangesetsConverter.php | +1 | −4 | Go to diff View file |
M | plugins/tracker/tests/unit/REST/Artifact/ArtifactCreatorTest.php | +4 | −2 | Go to diff View file |
A | plugins/tracker/tests/unit/REST/Artifact/ReverseLinksAdderTest.php | +364 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Stub/Tracker/Artifact/ChangesetValue/ArtifactLink/ConvertAddReverseLinksStub.php | +66 | −0 | Go to diff View file |