fixed test w/ burnettk
This commit is contained in:
parent
23a93d8155
commit
264bcaebda
|
@ -40,7 +40,9 @@ class TestProcessInstancesController(BaseTest):
|
||||||
)
|
)
|
||||||
assert response.status_code == 200
|
assert response.status_code == 200
|
||||||
assert response.json
|
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(
|
response = client.get(
|
||||||
f"/v1.0/process-instances/find-by-id/{process_instance.id}",
|
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.status_code == 200
|
||||||
assert response.json
|
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
|
||||||
|
|
Loading…
Reference in New Issue