Skip to content

Commit

Permalink
fixed encryption service health check test
Browse files Browse the repository at this point in the history
  • Loading branch information
holashchand committed Nov 15, 2023
1 parent 3b714b2 commit 2ec1d47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void test_decrypt_api_map_param_throwing_resource_exception() throws Exce

@Test
public void test_encryption_isup() throws Exception {
when(retryRestTemplate.getForEntity(nullable(String.class))).thenReturn(ResponseEntity.accepted().body("UP"));
when(retryRestTemplate.getForEntity(nullable(String.class))).thenReturn(ResponseEntity.accepted().body("{\"status\": \"UP\"}"));
assertTrue(encryptionServiceImpl.isEncryptionServiceUp());
}

Expand Down

0 comments on commit 2ec1d47

Please sign in to comment.