diff --git a/spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_instances_controller.py b/spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_instances_controller.py index 8c11e4e72..e9c403a4e 100644 --- a/spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_instances_controller.py +++ b/spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_instances_controller.py @@ -40,7 +40,9 @@ class TestProcessInstancesController(BaseTest): ) assert response.status_code == 200 assert response.json - assert response.json["id"] == process_instance.id + assert 'process_instance' in response.json + assert response.json['process_instance']["id"] == process_instance.id + assert response.json['uri_type'] == 'for-me' response = client.get( f"/v1.0/process-instances/find-by-id/{process_instance.id}", @@ -54,4 +56,6 @@ class TestProcessInstancesController(BaseTest): ) assert response.status_code == 200 assert response.json - assert response.json["id"] == process_instance.id + assert 'process_instance' in response.json + assert response.json['process_instance']["id"] == process_instance.id + assert response.json['uri_type'] is None