Skip to content

Commit

Permalink
Extend endpoint cert search test case
Browse files Browse the repository at this point in the history
  • Loading branch information
nimsara66 committed Feb 14, 2025
1 parent 7e92f6e commit a7a9a45
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,12 @@ public void testSearchEndpointCertificates() throws ApiException, ParseException
endpointCertificates = restAPIPublisher.getEndpointCertificiates("https://abc.com", null);
Assert.assertNotNull(endpointCertificates.getCertificates());
Assert.assertEquals(endpointCertificates.getCertificates().size(), 0);
endpointCertificates = restAPIPublisher.getEndpointCertificiates("https://localhost", null);
Assert.assertNotNull(endpointCertificates.getCertificates());
Assert.assertEquals(endpointCertificates.getCertificates().size(), 2);
endpointCertificates = restAPIPublisher.getEndpointCertificiates(endpoint + "/api/v1", null);
Assert.assertNotNull(endpointCertificates.getCertificates());
Assert.assertEquals(endpointCertificates.getCertificates().size(), 2);
}

@Test(groups = {"wso2.am"}, description = "test Upload Endpoint Certificate", dependsOnMethods = {
Expand Down

0 comments on commit a7a9a45

Please sign in to comment.