diff options
Diffstat (limited to 'ONAP-REST/src')
-rw-r--r-- | ONAP-REST/src/test/java/org/onap/policy/rest/jpa/PIPConfigurationTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ONAP-REST/src/test/java/org/onap/policy/rest/jpa/PIPConfigurationTest.java b/ONAP-REST/src/test/java/org/onap/policy/rest/jpa/PIPConfigurationTest.java index 8d87173b0..1a4c2756b 100644 --- a/ONAP-REST/src/test/java/org/onap/policy/rest/jpa/PIPConfigurationTest.java +++ b/ONAP-REST/src/test/java/org/onap/policy/rest/jpa/PIPConfigurationTest.java @@ -115,6 +115,7 @@ public class PIPConfigurationTest { assertEquals(id, config.getName()); // Test toString - assertEquals(332, config.toString().length()); + String configString = config.toString().replaceAll("@[0-9a-f]*", ""); + assertEquals(323, configString.length()); } } |