Skip to content

Fix completion criteria validation in serializer#3390

Merged
rtibbles merged 2 commits intolearningequality:unstablefrom
rtibbles:looking_for_validation_in_all_the_wrong_places
May 17, 2022
Merged

Fix completion criteria validation in serializer#3390
rtibbles merged 2 commits intolearningequality:unstablefrom
rtibbles:looking_for_validation_in_all_the_wrong_places

Conversation

@rtibbles
Copy link
Copy Markdown
Member

Summary

Description of the change(s) you made

  • Add tests for validation happening in the update method.
  • Properly handle validation in update method for completion criteria.

Manual verification steps performed

Ran tests.

Properly handle validation in update method for completion criteria.
@rtibbles rtibbles requested a review from sairina May 17, 2022 20:39
Copy link
Copy Markdown
Contributor

@sairina sairina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No more 500 error for update!

@rtibbles
Copy link
Copy Markdown
Member Author

Oh, looks like I need to update the exception that gets thrown now! Will fix.

@rtibbles rtibbles merged commit 559942d into learningequality:unstable May 17, 2022
@rtibbles rtibbles deleted the looking_for_validation_in_all_the_wrong_places branch May 17, 2022 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants