removed debug info

This commit is contained in:
Bhaskara Navuluri 2021-10-25 15:26:06 +05:30
parent cac3ae3a5e
commit f9feb0aad7
1 changed files with 0 additions and 3 deletions

View File

@ -85,9 +85,6 @@ class KeycloakSoapIntegrationTest {
headers.set("Authorization", "Bearer " + generateToken("janeadoe", "password"));
HttpEntity<String> request = new HttpEntity<>(Utility.getGetProductDetailsRequest(), headers);
ResponseEntity<String> responseEntity = restTemplate.postForEntity("http://localhost:" + port + "/ws/api/v1/", request, String.class);
System.out.println("This is the URL --> " + "http://localhost:" + port + "/ws/api/v1/");
System.out.println("Body --> " + responseEntity.getBody());
System.out.println("Location Header --> " + responseEntity.getHeaders().get("Location"));
assertThat(responseEntity).isNotNull();
assertThat(responseEntity.getStatusCodeValue()).isEqualTo(HttpStatus.UNAUTHORIZED.value());
assertThat(responseEntity.getBody()).isBlank();