stable

Clone or download

Read-only

request #20958 Throw error when feature to add/remove in top backlog does not exist with PATCH project/$id/program_backlog

How to test: - Use PATCH project/$id/program_backlog - in add key, use a false id (id does not exist, or not a feature) => An error is thrown instead of 200 - Test with remove key Change-Id: I5f13276648f395cc25b325f5e8606dc8b3fc8e07

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/ProcessTopBacklogChange.php +16 −5 Go to diff View file
M plugins/program_management/include/Program/Backlog/TopBacklog/TopBacklogChangeProcessor.php +2 −0 Go to diff View file
D plugins/program_management/include/Program/Backlog/TopBacklog/TopBacklogUpdater.php +0 −50 Go to diff View file
M plugins/program_management/include/REST/v1/ProjectResource.php +22 −24 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/ProcessTopBacklogChangeTest.php +27 −8 Go to diff View file
D plugins/program_management/tests/unit/Program/Backlog/TopBacklog/TopBacklogUpdaterTest.php +0 −50 Go to diff View file