Rework some sonar critical and major bugs
[clamp.git] / src / test / java / org / onap / clamp / clds / it / PolicyClientIT.java
index 19fad48..69df972 100644 (file)
@@ -119,7 +119,7 @@ public class PolicyClientIT extends AbstractIT {
             try {
                 responseMessage = policyClient.sendMicroServiceInJson(policyJson, prop, tcaPolicyRequestUuid);
             } catch (Exception e) {
-                assertTrue(e.getMessage().contains("Policy send failed: PE500 "));
+                assertTrue(e.getMessage().contains("Exception while communicating with Policy"));
             }
             System.out.println(responseMessage);
         }