Skip to content

Commit

Permalink
Merge pull request #395 from blackducksoftware/dev/jpp/master/Update-…
Browse files Browse the repository at this point in the history
…version-dependency-cascade

fixed to use newer api
  • Loading branch information
jppetrakis authored Mar 7, 2023
2 parents 1468369 + 1872be5 commit 4b01935
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void testMediaType() throws IntegrationException {
BlackDuckSingleRequest<ProjectView> requestSingle = new BlackDuckSingleRequest<>(blackDuckRequestBuilder, projectViewUrlSingleResponse, new PagingDefaultsEditor(), new AcceptHeaderEditor(blackDuckMediaTypeDiscoveryVerifier));
ProjectView retrievedById = blackDuckApiClient.getResponse(requestSingle);
assertEquals(null, blackDuckMediaTypeDiscoveryVerifier.originalMediaType);
assertEquals("application/vnd.blackducksoftware.project-detail-4+json", blackDuckMediaTypeDiscoveryVerifier.discoveredMediaType);
assertEquals("application/vnd.blackducksoftware.project-detail-5+json", blackDuckMediaTypeDiscoveryVerifier.discoveredMediaType);
}

private class BlackDuckMediaTypeDiscoveryVerifier extends BlackDuckMediaTypeDiscovery {
Expand Down

0 comments on commit 4b01935

Please sign in to comment.