Challenge Overview
mock/mock-challenge-api.js#40:
phases: [{
actualStartDate: '2018-01-01',
actualEndDate: '2019-01-01',
phaseId: 'aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b',
isOpen: false
}, {
phaseId: 'cfe12b3f-2a12-4639-9d8b-ec86726f7644',
isOpen: false
}]
Steps to reproduce:
- update mock to return a closed phase associated with a resource role
- open the Postman collection
- send requests to create ResourceRoles, ResourceRolePhaseDependencies if it is the first time
- send the request
create resource by admin
Current result(s):
- the request is successful
Expected result(s):
- should not allow to add resources to a finished phase
Attachments:
