Skip to content

Add EnrollabilityStatus as enum instead of boolean

The enrollability-status enum is added to represent whether a course edition is open for enrolment. The EditionPatchDTO and Edition classes are adjusted accordingly to deal with the new datatype. Changes were needed in EditionRepository as well.

Additionally, this commit tests EditionController properly and fixes a couple of issues in the EditionController at this moment.

Closes #48 (closed)

Merge request reports

Loading