diff options
Diffstat (limited to 'reference/logging-slf4j/src/test/java/org')
2 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 bc6d96d..e28c22f 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 @@ -140,7 +140,7 @@ public class ONAPLogAdapterTest { http.setServerName("local123"); http.setRemoteAddr("remote123"); http.addHeader("X-ONAP-RequestID", "request123"); - http.addHeader("X-ONAP-InvocationID", "invocation123"); + http.addHeader("X-InvocationID", "invocation123"); http.addHeader("X-ONAP-PartnerName", "partner123"); try { @@ -180,7 +180,7 @@ public class ONAPLogAdapterTest { http.setServerName("local123"); http.setRemoteAddr("remote123"); http.addHeader("X-ONAP-RequestID", "request123"); - http.addHeader("X-ONAP-InvocationID", "invocation123"); + http.addHeader("X-InvocationID", "invocation123"); http.addHeader("X-ONAP-PartnerName", "partner123"); try { diff --git a/reference/logging-slf4j/src/test/java/org/onap/logging/ref/slf4j/ONAPLogConstantsTest.java b/reference/logging-slf4j/src/test/java/org/onap/logging/ref/slf4j/ONAPLogConstantsTest.java index 681b324..d63d2fd 100644 --- a/reference/logging-slf4j/src/test/java/org/onap/logging/ref/slf4j/ONAPLogConstantsTest.java +++ b/reference/logging-slf4j/src/test/java/org/onap/logging/ref/slf4j/ONAPLogConstantsTest.java @@ -60,7 +60,7 @@ public class ONAPLogConstantsTest { @Test public void testHeaders() { assertThat(ONAPLogConstants.Headers.REQUEST_ID, is("X-ONAP-RequestID")); - assertThat(ONAPLogConstants.Headers.INVOCATION_ID, is("X-ONAP-InvocationID")); + assertThat(ONAPLogConstants.Headers.INVOCATION_ID, is("X-InvocationID")); assertThat(ONAPLogConstants.Headers.PARTNER_NAME, is("X-ONAP-PartnerName")); } |