X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ONAP-PAP-REST%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fpolicy%2Fpap%2Fxacml%2Frest%2Fcontroller%2FDictionaryControllerTest.java;fp=ONAP-PAP-REST%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fpolicy%2Fpap%2Fxacml%2Frest%2Fcontroller%2FDictionaryControllerTest.java;h=0eda3fb95e6d93eb9d08b0d147a8d3c4b7effd20;hb=6fdf2fd8d754e59977bf107d60725b8394771f69;hp=26509b1aaf47133530eeb9068aa73e1943409762;hpb=fb298650669ecc864d95154cbad2aec6ebb0679a;p=policy%2Fengine.git diff --git a/ONAP-PAP-REST/src/test/java/org/onap/policy/pap/xacml/rest/controller/DictionaryControllerTest.java b/ONAP-PAP-REST/src/test/java/org/onap/policy/pap/xacml/rest/controller/DictionaryControllerTest.java index 26509b1aa..0eda3fb95 100644 --- a/ONAP-PAP-REST/src/test/java/org/onap/policy/pap/xacml/rest/controller/DictionaryControllerTest.java +++ b/ONAP-PAP-REST/src/test/java/org/onap/policy/pap/xacml/rest/controller/DictionaryControllerTest.java @@ -111,7 +111,7 @@ public class DictionaryControllerTest { MockHttpServletResponse response = new MockHttpServletResponse(); - controller.getAttributeDictionaryEntityDatabyAttributeName(request, response); + controller.getAttributeDictionaryEntityDatabyAttributeName(response); try { assertTrue( response.getContentAsString() != null && response.getContentAsString().contains("attributeDictionaryDatas")); @@ -129,7 +129,7 @@ public class DictionaryControllerTest { MockHttpServletResponse response = new MockHttpServletResponse(); - controller.getAttributeDictionaryEntityData(request, response); + controller.getAttributeDictionaryEntityData(response); try { assertTrue( response.getContentAsString() != null && response.getContentAsString().contains("attributeDictionaryDatas")); @@ -208,7 +208,7 @@ public class DictionaryControllerTest { MockHttpServletResponse response = new MockHttpServletResponse(); - controller.getOnapNameDictionaryByNameEntityData(request, response); + controller.getOnapNameDictionaryByNameEntityData(response); try { assertTrue( response.getContentAsString() != null && response.getContentAsString().contains("onapNameDictionaryDatas")); @@ -226,7 +226,7 @@ public class DictionaryControllerTest { MockHttpServletResponse response = new MockHttpServletResponse(); - controller.getOnapNameDictionaryEntityData(request, response); + controller.getOnapNameDictionaryEntityData(response); try { assertTrue( response.getContentAsString() != null && response.getContentAsString().contains("onapNameDictionaryDatas"));