# | Description | Input | Expected Result | Actual Result | Status |
---|---|---|---|---|---|
1 | Valid data | Episode closed status_hstr filled | Episode closed status_hstr filled | passed | |
2 | Invalid transition - episode in status closed | 422 | 422 "Episode in status closed can not be closed" | passed | |
3 | Invalid transition - episode in status entered_in_error | 409 | 422 | passed | |
4 | Period validation handled | true | false end<starts |
passed | |||||
5 | Wrong scopes | token without scope "episode:write" | 403 | 403 | passed |
---|---|---|---|---|---|
6 | Close an episode that belongs to other legal_entity | not handled | failed |