From f2ebc9caf85c38a6bba95aa2b36ff4a832737b29 Mon Sep 17 00:00:00 2001 From: Anastasia Gradova Date: Fri, 6 Dec 2024 10:02:34 -0700 Subject: [PATCH] Updated status code for new verify function --- backend/audit/test_views.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/audit/test_views.py b/backend/audit/test_views.py index 6de0c80af..073f35af2 100644 --- a/backend/audit/test_views.py +++ b/backend/audit/test_views.py @@ -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(