Skip to content

Commit

Permalink
Merge pull request #447 from blackducksoftware/sierra/upgrade-bd-comm…
Browse files Browse the repository at this point in the history
…on-api

Fix Test Failure
  • Loading branch information
devmehtabd authored Sep 19, 2024
2 parents cabbe7f + 2a04413 commit 20534e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,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-7+json", blackDuckMediaTypeDiscoveryVerifier.discoveredMediaType);
assertEquals("application/vnd.blackducksoftware.project-detail-6+json", blackDuckMediaTypeDiscoveryVerifier.discoveredMediaType);
}

private class BlackDuckMediaTypeDiscoveryVerifier extends BlackDuckMediaTypeDiscovery {
Expand Down

0 comments on commit 20534e0

Please sign in to comment.