aboutsummaryrefslogtreecommitdiffstats
path: root/datarouter-subscriber/src/test
diff options
context:
space:
mode:
authoreconwar <conor.ward@est.tech>2019-01-15 15:56:03 +0000
committereconwar <conor.ward@est.tech>2019-01-15 15:56:03 +0000
commit63bda59aac59f9fc99245d583decda254d1d3e5f (patch)
tree24b8986ca7d531760f4e4390be35109c6eccae0e /datarouter-subscriber/src/test
parent45ac8c967dfc9a5c760a264803f99c04466e3936 (diff)
Add creation of metadata file on subscriber
Change-Id: Ia6aa3f038b35e47a0811de84a9aeab58acecd268 Issue-ID: DMAAP-963 Signed-off-by: econwar <conor.ward@est.tech>
Diffstat (limited to 'datarouter-subscriber/src/test')
-rwxr-xr-xdatarouter-subscriber/src/test/java/org/onap/dmaap/datarouter/subscriber/SampleSubscriberServletTest.java1
1 files changed, 1 insertions, 0 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 e31b3473..f3700e9f 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
@@ -100,6 +100,7 @@ public class SampleSubscriberServletTest {
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.getQueryString()).thenReturn(null);
ServletInputStream inStream = mock(ServletInputStream.class);
when(request.getInputStream()).thenReturn(inStream);