From 491d30b9b34978c5e1318da1e467425d7430d852 Mon Sep 17 00:00:00 2001 From: Jon Herron Date: Mon, 13 Feb 2023 14:13:34 -0500 Subject: [PATCH] The End Event has a spiff step --- .../tests/spiffworkflow_backend/integration/test_process_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py b/spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py index 8c160d645..a72796e0f 100644 --- a/spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py +++ b/spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py @@ -2766,7 +2766,7 @@ class TestProcessApi(BaseTest): headers=self.logged_in_headers(with_super_admin_user), ) assert response.status_code == 200 - end = next(task for task in response.json if task["name"] == "End") + end = next(task for task in response.json if task["type"] == "End Event") assert end["data"]["result"] == {"message": "message 1"} def test_manual_complete_task(