diff options
author | egernug <gerard.nugent@est.tech> | 2019-02-04 14:27:11 +0000 |
---|---|---|
committer | Conor Ward <conor.ward@est.tech> | 2019-02-06 11:44:36 +0000 |
commit | ee6fa61e2cd7df99891092709765235b6166a041 (patch) | |
tree | d239addfdac1e2b3d6fe2cb6dd6b1c3fd5b3da6e /datarouter-subscriber/src/test | |
parent | f926474924870c9ed4d5c4c8ccba55a1942d8e37 (diff) |
Replace ATT headers2.0.0
Change-Id: I27b9240e33381b91c40c21a04f7ec6bdb7c16ce0
Issue-ID: DMAAP-997
Signed-off-by: egernug <gerard.nugent@est.tech>
Diffstat (limited to 'datarouter-subscriber/src/test')
-rwxr-xr-x | datarouter-subscriber/src/test/java/org/onap/dmaap/datarouter/subscriber/SampleSubscriberServletTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/datarouter-subscriber/src/test/java/org/onap/dmaap/datarouter/subscriber/SampleSubscriberServletTest.java b/datarouter-subscriber/src/test/java/org/onap/dmaap/datarouter/subscriber/SampleSubscriberServletTest.java index f3700e9f..109c63a9 100755 --- a/datarouter-subscriber/src/test/java/org/onap/dmaap/datarouter/subscriber/SampleSubscriberServletTest.java +++ b/datarouter-subscriber/src/test/java/org/onap/dmaap/datarouter/subscriber/SampleSubscriberServletTest.java @@ -99,8 +99,8 @@ public class SampleSubscriberServletTest { private void setUpSuccessfulFlow() throws IOException { when(request.getHeader("Authorization")).thenReturn("Basic TE9HSU46UEFTU1dPUkQ="); when(request.getPathInfo()).thenReturn("/publish/1/testfile"); - when(request.getHeader("X-ATT-DR-PUBLISH-ID")).thenReturn("1"); - when(request.getHeader("X-ATT-DR-META")).thenReturn("{\"Key\":\"Value\"}"); + when(request.getHeader("X-DMAAP-DR-PUBLISH-ID")).thenReturn("1"); + when(request.getHeader("X-DMAAP-DR-META")).thenReturn("{\"Key\":\"Value\"}"); when(request.getQueryString()).thenReturn(null); ServletInputStream inStream = mock(ServletInputStream.class); when(request.getInputStream()).thenReturn(inStream); |