stable

Clone or download

Read-only

refactor: reuse existing objects NewArtifactLinkChangesetValue

part of story #24970 [modal] select type for links ArtifactLinker should use existing objects instead of duplicating logic. No functional change expected Change-Id: I9a7084447153a3cd20ebbe18fe5649419f838d25

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Artifact.php +5 −5 Go to diff View file
D plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/ArtifactLinksDiff.php +0 −71 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/CollectionOfForwardLinks.php +21 −5 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/NewArtifactLinkChangesetValue.php +29 −5 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/NewArtifactLinkChangesetValueFormatter.php +10 −13 Go to diff View file
D plugins/tracker/include/Tracker/Artifact/Link/ArtifactLinkFilter.php +0 −61 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Link/ArtifactLinker.php +16 −30 Go to diff View file
D plugins/tracker/include/Tracker/Artifact/Link/FilterArtifactLink.php +0 −36 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Link/ForwardLinkProxy.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/REST/Artifact/ChangesetValue/ArtifactLink/NewArtifactLinkChangesetValueBuilderTest.php +6 −5 Go to diff View file
M plugins/tracker/tests/unit/REST/Artifact/ChangesetValue/FieldsDataBuilderTest.php +1 −3 Go to diff View file
D plugins/tracker/tests/unit/Stub/FilterArtifactLinkStub.php +0 −46 Go to diff View file
D plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/ArtifactLink/ArtifactLinksDiffTest.php +0 −61 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/ArtifactLink/CollectionOfForwardLinksTest.php +50 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/ArtifactLink/NewArtifactLinkChangesetValueTest.php +21 −6 Go to diff View file
D plugins/tracker/tests/unit/Tracker/Artifact/Link/ArtifactLinkFilterTest.php +0 −125 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Link/ArtifactLinkerTest.php +37 −84 Go to diff View file