stable

Clone or download

Read-only

refactor: call NewChangesetCreator directly

part of story #24969 [modal] add and remove links without types No functional change expected. Instead of calling Artifact::createNewChangeset(), we make our dependencies explicit and call NewChangesetCreator directly. It's also easier to refactor NewChangesetCreator as it is less depended upon. Change-Id: Ib9fa0f0043e1e4061a533a8fa2cb68cb6dcc489b

Modified Files

Name
M plugins/taskboard/include/REST/v1/Card/CardPatcher.php +55 −6 Go to diff View file
M plugins/taskboard/include/REST/v1/Cell/CardMappedFieldUpdater.php +54 −4 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/CampaignsResource.class.php +39 −2 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/ExecutionsResource.class.php +38 −3 Go to diff View file
M plugins/tracker/include/REST/Artifact/ArtifactUpdater.php +32 −15 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +44 −4 Go to diff View file
M plugins/tracker/tests/unit/REST/Artifact/ArtifactUpdaterTest.php +44 −8 Go to diff View file