From: Jim Hahn Date: Tue, 2 Apr 2019 15:03:51 +0000 (-0400) Subject: Remove pdpType from tests X-Git-Tag: 3.0.2-ONAP~39 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=b1f91ce4ca751ab00fda6c81afed12476338288c;p=policy%2Fpap.git Remove pdpType from tests Somehow, pdpType is was still referenced by junit tests. Thought I had fixed that, but guess not. Change-Id: I8060208129cb2c6ba1ecb21d65efb778a2778aa5 Issue-ID: POLICY-1542 Signed-off-by: Jim Hahn --- diff --git a/main/src/test/java/org/onap/policy/pap/main/comm/PdpModifyRequestMapTest.java b/main/src/test/java/org/onap/policy/pap/main/comm/PdpModifyRequestMapTest.java index 96a39bc3..c2993528 100644 --- a/main/src/test/java/org/onap/policy/pap/main/comm/PdpModifyRequestMapTest.java +++ b/main/src/test/java/org/onap/policy/pap/main/comm/PdpModifyRequestMapTest.java @@ -548,7 +548,6 @@ public class PdpModifyRequestMapTest { upd.setName(PDP1); upd.setPdpGroup("group1-a"); upd.setPdpSubgroup("sub1-a"); - upd.setPdpType("drools"); upd.setPolicies(Arrays.asList(makePolicy("policy-1-a", "1.0.0"), makePolicy("policy-2-a", "1.1.0"))); diff --git a/main/src/test/java/org/onap/policy/pap/main/comm/msgdata/UpdateDataTest.java b/main/src/test/java/org/onap/policy/pap/main/comm/msgdata/UpdateDataTest.java index 3ff6f4d2..06a3bf01 100644 --- a/main/src/test/java/org/onap/policy/pap/main/comm/msgdata/UpdateDataTest.java +++ b/main/src/test/java/org/onap/policy/pap/main/comm/msgdata/UpdateDataTest.java @@ -139,7 +139,6 @@ public class UpdateDataTest { upd.setName(MY_NAME); upd.setPdpGroup("group1-a"); upd.setPdpSubgroup("sub1-a"); - upd.setPdpType("drools"); ToscaPolicy policy1 = makePolicy("policy-1-a", "1.0.0"); ToscaPolicy policy2 = makePolicy("policy-2-a", "1.1.0");