The End Event has a spiff step

This commit is contained in:
Jon Herron 2023-02-13 14:13:34 -05:00
parent 683c1ee2c1
commit 491d30b9b3

View File

@ -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(