From 4629f19b9ca6d6fcbb66fb43327a087d700744e9 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Tue, 1 Jun 2021 15:12:15 -0400 Subject: 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 --- .../onap/policy/xacml/pdp/application/guard/GuardTranslatorTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applications/guard') 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 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"); -- cgit 1.2.3-korg