stable
Clone or download
Read-only
request #20927 Should return 404 when Feature ids doesn't exist
How to test: - Use REST route GET program_increment/$id/content => With id does not exist => With Task id, Epic id, or whatever is not a Feature Expected results: - You should have a 404 error Change-Id: I7cde384fece4eb660fa9b625e37c75ece8ee10a4
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementsDAO.php | +8 | −0 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Feature/Content/FeatureContentRetriever.php | +3 | −6 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Feature/Content/ProgramIncrementRetriever.php | +11 | −14 | Go to diff View file |
M | plugins/program_management/include/REST/v1/ProgramIncrementResource.php | +9 | −5 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Feature/Content/ProgramIncrementRetrieverTest.php | +26 | −11 | Go to diff View file |