Skip to content

Commit

Permalink
✅ Pass test user task view
Browse files Browse the repository at this point in the history
  • Loading branch information
damm89 committed Feb 22, 2024
1 parent 218d8e6 commit 46f9e92
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions backend/src/zac/camunda/tests/test_user_task_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -1193,10 +1193,6 @@ def test_put_zet_resultaat_user_task(self, m, *mocks):
"zac.core.camunda.zet_resultaat.serializers.get_all_review_requests_for_zaak",
return_value=[rr],
)
patch_get_reviews_for_zaak = patch(
"zac.core.camunda.zet_resultaat.serializers.get_reviews_for_zaak",
return_value=[],
)
patch_lock_review_request = patch(
"zac.core.camunda.zet_resultaat.serializers.lock_review_request",
)
Expand All @@ -1214,12 +1210,12 @@ def test_put_zet_resultaat_user_task(self, m, *mocks):
with patch_check_document_status as pcds:
with patch_patch_and_destroy_doc as ppdd:
with patch_get_all_review_requests_for_zaak as pgrrfz:
with patch_lock_review_request as plrr:
with patch_fetch_checklist_object as pfco:
with patch_update_object_record_data as puor:
response = self.client.put(
self.task_endpoint, payload
)
with patch_lock_review_request as plrr:
with patch_fetch_checklist_object as pfco:
with patch_update_object_record_data as puor:
response = self.client.put(
self.task_endpoint, payload
)
self.assertEqual(response.status_code, 204)

activity.refresh_from_db()
Expand Down

0 comments on commit 46f9e92

Please sign in to comment.