Source:
<code>public void testGettingImagesFromQuay() { final ApiClient webClient = getWebClient(USER_2_USERNAME, testingPostgres); WorkflowsApi workflowsApi = new WorkflowsApi(webClient); final io.dockstore.openapi.client.ApiClient openAPIClient = getOpenAPIWebClient(USER_2_USERNAME, testingPostgres); Ga4Ghv20Api ga4Ghv20Api = new Ga4Ghv20Api(openAPIClient); <START> WorkflowVersion version = snapshotWorkflowVersion(workflowsApi, "dockstore-testing/hello_world", "cwl", "/hello_world.cwl", "1.0.1"); <END> assertEquals("Should only be one image in this workflow", 1, version.getImages().size()); verifyImageChecksumsAreSaved(version); List<ToolVersion> versions = ga4Ghv20Api.toolsIdVersionsGet("#workflow/github.com/dockstore-testing/hello_world"); verifyTRSImageConversion(versions, "1.0.1", 1); WorkflowVersion workflowVersionWithoutVersionedImage = snapshotWorkflowVersion(workflowsApi, "dockstore-testing/tools-cwl-workflow-experiments", "cwl", "/cwl/workflow_docker.cwl", "1.0"); assertEquals("Should not have grabbed any images", 0, workflowVersionWithoutVersionedImage.getImages().size()); WorkflowVersion versionWithDuplicateImages = snapshotWorkflowVersion(workflowsApi, "dockstore-testing/zhanghj-8555114", "cwl", "/main.cwl", "1.0"); assertEquals("Should have grabbed 3 images", 3, versionWithDuplicateImages.getImages().size()); verifyImageChecksumsAreSaved(versionWithDuplicateImages); versions = ga4Ghv20Api.toolsIdVersionsGet("#workflow/github.com/dockstore-testing/zhanghj-8555114"); verifyTRSImageConversion(versions, "1.0", 3); }</code><technical_language>"CWL" work? If does, change enum string</technical_language>

Target:
public void testGettingImagesFromQuay() { final ApiClient webClient = getWebClient(USER_2_USERNAME, testingPostgres); WorkflowsApi workflowsApi = new WorkflowsApi(webClient); final io.dockstore.openapi.client.ApiClient openAPIClient = getOpenAPIWebClient(USER_2_USERNAME, testingPostgres); Ga4Ghv20Api ga4Ghv20Api = new Ga4Ghv20Api(openAPIClient); WorkflowVersion version = snapshotWorkflowVersion(workflowsApi, "dockstore-testing/hello_world", DescriptorType.CWL.toString(), "/hello_world.cwl", "1.0.1"); assertEquals("Should only be one image in this workflow", 1, version.getImages().size()); verifyImageChecksumsAreSaved(version); List<ToolVersion> versions = ga4Ghv20Api.toolsIdVersionsGet("#workflow/github.com/dockstore-testing/hello_world"); verifyTRSImageConversion(versions, "1.0.1", 1); WorkflowVersion workflowVersionWithoutVersionedImage = snapshotWorkflowVersion(workflowsApi, "dockstore-testing/tools-cwl-workflow-experiments", DescriptorType.CWL.toString(), "/cwl/workflow_docker.cwl", "1.0"); assertEquals("Should not have grabbed any images", 0, workflowVersionWithoutVersionedImage.getImages().size()); WorkflowVersion versionWithDuplicateImages = snapshotWorkflowVersion(workflowsApi, "dockstore-testing/zhanghj-8555114", DescriptorType.CWL.toString(), "/main.cwl", "1.0"); assertEquals("Should have grabbed 3 images", 3, versionWithDuplicateImages.getImages().size()); verifyImageChecksumsAreSaved(versionWithDuplicateImages); versions = ga4Ghv20Api.toolsIdVersionsGet("#workflow/github.com/dockstore-testing/zhanghj-8555114"); verifyTRSImageConversion(versions, "1.0", 3); }