Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix submission deletion endpoint error #2060

Merged
merged 5 commits into from
Apr 30, 2021

Conversation

DavisRayM
Copy link
Contributor

Changes / Features implemented

  • Pass an Instance ID instead of an Instance object to send_message
  • Update test to ensure call arguments are correct

Steps taken to verify this change does what is intended

  • Updated tests

Side effects of implementing this change

  • N/A

Closes #2056

denniswambua
denniswambua previously approved these changes Apr 30, 2021
Remove assertion statement that checked whether Instance and Submission
Review date_created fields were the same; Instances & Submission Reviews
are two different entities and are not created at the same time as such
asserting that the date_created is the same between the two will not
always pass.
- Assert returned response is equal to the stored Instance JSON
@DavisRayM DavisRayM merged commit 709c31f into master Apr 30, 2021
@DavisRayM DavisRayM deleted the 2056-submission-deletion-error branch April 30, 2021 07:41
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.

Submission deletion endpoint fails with a 500 error
2 participants