stable

Clone or download

Read-only

Extract artifacts reordering in unit-tested class

Part of story #13626 Drag and drop cards No functional change in Planning or Kanban cards reordering. This step will let us reuse ArtifactsRankOrderer for Taskboard card reordering. Change-Id: I87a61da80c216ce870bf6aae6d940a607e713d61

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemResource.php +11 −14 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php +16 −26 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +11 −17 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResourceValidator.class.php +6 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectBacklogResource.class.php +4 −7 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Rank/ArtifactsRankOrderer.php +83 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ResourcesPatcher.class.php +4 −24 Go to diff View file
A plugins/agiledashboard/phpunit/REST/v1/OrderValidatorTest.php +86 −0 Go to diff View file
A plugins/agiledashboard/phpunit/REST/v1/Rank/ArtifactsRankOrdererTest.php +124 −0 Go to diff View file
D plugins/agiledashboard/tests/include/AgileDashboard/REST/v1/OrderValidatorTest.php +0 −86 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_PriorityManager.class.php +6 −1 Go to diff View file
A plugins/tracker/phpunit/Tracker/Artifact/Tracker_Artifact_PriorityManagerTest.php +355 −0 Go to diff View file
M tests/rest/tests/ProjectTest.php +4 −4 Go to diff View file