Skip to content

Commit

Permalink
Updated status code for new verify function
Browse files Browse the repository at this point in the history
  • Loading branch information
anagradova committed Dec 6, 2024
1 parent 51349b1 commit f2ebc9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/audit/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,9 @@ def test_post_validation_errors(
"""Test that validation errors are displayed if submission is invalid"""
mock_validate.return_value = ["Error 1", "Error 2"]

self.sac.submission_status = STATUS.AUDITEE_CERTIFIED
self.sac.save()

response = self.client.post(self.url)
self.assertEqual(response.status_code, 200)
self.assertTemplateUsed(
Expand Down

0 comments on commit f2ebc9c

Please sign in to comment.