fixed process_model_identifier in script_unit_test_create

This commit is contained in:
mike cullerton 2022-11-07 10:33:24 -05:00
parent fdfd45e64a
commit f41fe5f9ae
1 changed files with 2 additions and 1 deletions

View File

@ -1153,7 +1153,8 @@ def script_unit_test_create(
"expected_output_json", body
)
process_model = get_process_model(process_model_id, process_group_id)
process_model_identifier = f"{process_group_id}/{process_model_id}"
process_model = get_process_model(process_model_identifier)
file = SpecFileService.get_files(process_model, process_model.primary_file_name)[0]
if file is None:
raise ApiError(