Fixes for MultipleChoiceOption and FeedbackOption API
This merge request fixes two things:
- Deleting a
FeedbackOption
will now throw an error if it is coupled to aMultipleChoiceOption
- Inserting a
MultipleChoiceOption
will now check theproblem_id
parameter to see if an actualProblem
with the specifiedproblem_id
exists.
Fixes #51 (closed) and #55 (closed)
Note: It might be useful to merge !16 (merged) first, since I can write test code for this MR.
Edited by Ghost User