stable

Clone or download

Read-only

PATCH /projects/{id}/program_backlog should only accept a single feature

This is part of story #20111 change features priority To be compliant with front end, REST route PATCH /projects/{id}/program_backlog should only accept a single feature because we can only drag'n'drop one element at a time. How to test: - Use /projects/{id}/program_backlog with - 1) 2 ids in `add` - 2) 2 ids in `remove` - 3) 2 ids in `ids` in `order` Expected results: - Error is thrown at each case Change-Id: I838ef4b2c0d17bb07629fd9d433f0197184271bf

Modified Files

Name
M plugins/program_management/include/REST/v1/BacklogPatchRepresentation.php +2 −2 Go to diff View file
M plugins/program_management/include/REST/v1/TopBacklogElementToOrderInvolvedInChangeRepresentation.php +1 −1 Go to diff View file
M plugins/program_management/tests/rest/v1/ProjectResourceTest.php +2 −1 Go to diff View file