diff options
author | 2019-08-16 13:40:56 +0000 | |
---|---|---|
committer | 2019-08-16 15:33:06 +0000 | |
commit | cb76469e77d6bcc0665cfc822398eb792f4a5801 (patch) | |
tree | 46da35da2a4534240f9cdcb1aa6c4d169a4a6ede /reference/logging-slf4j/src/test/java/org/onap/logging/ref/slf4j/ONAPLogAdapterTest.java | |
parent | 09a49ea562aed689f7200802ab1143efda581a3e (diff) |
update values in ONAPLogConstants.java
synchronize ONAPLogConstants.java with the values found in the casablance logging spec
Issue-ID: LOG-1102
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: If955d22b11f71ddce7d3bfddabce3f50838fc01d
Diffstat (limited to 'reference/logging-slf4j/src/test/java/org/onap/logging/ref/slf4j/ONAPLogAdapterTest.java')
-rw-r--r-- | reference/logging-slf4j/src/test/java/org/onap/logging/ref/slf4j/ONAPLogAdapterTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/reference/logging-slf4j/src/test/java/org/onap/logging/ref/slf4j/ONAPLogAdapterTest.java b/reference/logging-slf4j/src/test/java/org/onap/logging/ref/slf4j/ONAPLogAdapterTest.java index 1d11bd3..bc6d96d 100644 --- a/reference/logging-slf4j/src/test/java/org/onap/logging/ref/slf4j/ONAPLogAdapterTest.java +++ b/reference/logging-slf4j/src/test/java/org/onap/logging/ref/slf4j/ONAPLogAdapterTest.java @@ -382,7 +382,7 @@ public class ONAPLogAdapterTest { adapter.setResponseCode("code0"); adapter.setResponseDescription("desc0"); adapter.setResponseSeverity(Level.INFO); - adapter.setResponseStatus(ONAPLogConstants.ResponseStatus.COMPLETED); + adapter.setResponseStatus(ONAPLogConstants.ResponseStatus.COMPLETE); assertThat(MDC.get(ONAPLogConstants.MDCs.RESPONSE_CODE), nullValue()); assertThat(MDC.get(ONAPLogConstants.MDCs.RESPONSE_DESCRIPTION), nullValue()); @@ -394,7 +394,7 @@ public class ONAPLogAdapterTest { assertThat(MDC.get(ONAPLogConstants.MDCs.RESPONSE_CODE), is("code0")); assertThat(MDC.get(ONAPLogConstants.MDCs.RESPONSE_DESCRIPTION), is("desc0")); assertThat(MDC.get(ONAPLogConstants.MDCs.RESPONSE_SEVERITY), is("INFO")); - assertThat(MDC.get(ONAPLogConstants.MDCs.RESPONSE_STATUS_CODE), is("COMPLETED")); + assertThat(MDC.get(ONAPLogConstants.MDCs.RESPONSE_STATUS_CODE), is("COMPLETE")); } /** @@ -432,7 +432,7 @@ public class ONAPLogAdapterTest { adapter.getResponseDescriptor() .setResponseCode((String)null) .setResponseSeverity(Level.INFO) - .setResponseStatus(ONAPLogConstants.ResponseStatus.COMPLETED); + .setResponseStatus(ONAPLogConstants.ResponseStatus.COMPLETE); } finally { |