Merge pull request #137 from sartography/failing_test

Check the End Event to fix the failing test
This commit is contained in:
Dan Funk 2023-02-13 17:04:32 -05:00 committed by GitHub
commit 6621a7979b
1 changed files with 1 additions and 1 deletions

View File

@ -2766,7 +2766,7 @@ class TestProcessApi(BaseTest):
headers=self.logged_in_headers(with_super_admin_user), headers=self.logged_in_headers(with_super_admin_user),
) )
assert response.status_code == 200 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"} assert end["data"]["result"] == {"message": "message 1"}
def test_manual_complete_task( def test_manual_complete_task(