diff options
author | Jim Hahn <jrh3@att.com> | 2021-06-01 15:12:15 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-06-01 15:13:44 -0400 |
commit | 4629f19b9ca6d6fcbb66fb43327a087d700744e9 (patch) | |
tree | f3d5b808af680c42b4bcfbc568c0ae9b7b6c799d /applications/guard/src/test | |
parent | ae9007f3554ba021d76d001ca555a13d49babc8d (diff) |
Update junits for bean validator field name
Now that the bean validator uses the serialized field name in its error
messages, updated the junits to use the serialized names, too.
Issue-ID: POLICY-3333
Change-Id: I017aa654480baef06f2869116d4b5264bb32c721
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'applications/guard/src/test')
-rw-r--r-- | applications/guard/src/test/java/org/onap/policy/xacml/pdp/application/guard/GuardTranslatorTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/guard/src/test/java/org/onap/policy/xacml/pdp/application/guard/GuardTranslatorTest.java b/applications/guard/src/test/java/org/onap/policy/xacml/pdp/application/guard/GuardTranslatorTest.java index fcd5ac28..ac36ec72 100644 --- a/applications/guard/src/test/java/org/onap/policy/xacml/pdp/application/guard/GuardTranslatorTest.java +++ b/applications/guard/src/test/java/org/onap/policy/xacml/pdp/application/guard/GuardTranslatorTest.java @@ -119,8 +119,8 @@ public class GuardTranslatorTest { final Map<String, String> name2message = new HashMap<>(); name2message.put("frequency-missing-properties", "item \"limit\""); name2message.put("frequency-timewindow", "Cannot decode FrequencyDefinition"); - name2message.put("frequency-badtimerange_start", "item \"startTime\""); - name2message.put("frequency-badtimerange_end", "item \"endTime\""); + name2message.put("frequency-badtimerange_start", "item \"start_time\""); + name2message.put("frequency-badtimerange_end", "item \"end_time\""); name2message.put("frequency-badtimerange_value", "timestamp 99:99:99 could not be parsed"); name2message.put("minmax-notarget", "item \"target\""); name2message.put("minmax-nominmax", "Missing min or max field in minmax policy"); |