stable

Clone or download

Read-only

Refactoring: extract top backlog add checks in a dedicated object

This is part of story #14000 manage "en masse" backlog operations No functionnal changes expected here. The checks done to add elements into the project's top backlog must be done as before. Change-Id: Ie9c9e74688f43408358508bf6e0aa5307b89b965

Modified Files

Name
R plugins/agiledashboard/include/AgileDashboard/REST/v1/Milestone/NoRootPlanningException.php Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/REST/v1/Milestone/ProvidedAddedIdIsNotInPartOfTopBacklogException.php Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/TopBacklogElementsToAddChecker.php +75 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Milestone/MilestoneElementAdder.php +18 −34 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectBacklogResource.class.php +11 −5 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/Milestone/Backlog/TopBacklogElementsToAddCheckerTest.php +188 −0 Go to diff View file
M plugins/agiledashboard/phpunit/REST/v1/Milestone/MilestoneElementAdderTest.php +19 −38 Go to diff View file