stable

Clone or download

Read-only

Refactor ArtifactLink validation: extract dedicated object and unit test it

part of story #9651 PUT/POST /artifacts/:id with ALv2 natures This commit don't introduce functional changes. It extract the validation part of artifact link and unit test it Change-Id: I269cda0b5b27f1197af690c1c0e2041928320f21

Modified Files

Name
A plugins/tracker/include/Tracker/FormElement/ArtifactLinkValidator.php +201 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php +7 −66 Go to diff View file
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file
A plugins/tracker/tests/ArtifactLinkValidatorTest.php +232 −0 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_ArtifactLinkTest.php +39 −159 Go to diff View file