diff options
author | Liam Fallon <liam.fallon@est.tech> | 2019-04-02 13:06:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-02 13:06:26 +0000 |
commit | e47ec5069a6304a028c4144e8abaa58d6462b8e2 (patch) | |
tree | 19641c85ef3977848f9faed30f94dab62cbff8e4 /models-pdp/src/test/java/org/onap | |
parent | 8c57c0f7d3a17bdbdc9b21f5f0d778a299a31df7 (diff) | |
parent | 221e242e74ffc3da7d3efc78df3f2d6def0f4c38 (diff) |
Merge "Remove pdpType from PdpUpdate"
Diffstat (limited to 'models-pdp/src/test/java/org/onap')
-rw-r--r-- | models-pdp/src/test/java/org/onap/policy/models/pdp/concepts/TestPdpUpdate.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/models-pdp/src/test/java/org/onap/policy/models/pdp/concepts/TestPdpUpdate.java b/models-pdp/src/test/java/org/onap/policy/models/pdp/concepts/TestPdpUpdate.java index 5f8819b48..3d4359a7a 100644 --- a/models-pdp/src/test/java/org/onap/policy/models/pdp/concepts/TestPdpUpdate.java +++ b/models-pdp/src/test/java/org/onap/policy/models/pdp/concepts/TestPdpUpdate.java @@ -42,7 +42,7 @@ public class TestPdpUpdate { PdpUpdate orig = new PdpUpdate(); // verify with null values - assertEquals("PdpUpdate(name=null, pdpType=null, description=null, pdpGroup=null, " + assertEquals("PdpUpdate(name=null, description=null, pdpGroup=null, " + "pdpSubgroup=null, policies=null)", new PdpUpdate(orig).toString()); // verify with all values @@ -50,7 +50,6 @@ public class TestPdpUpdate { orig.setName("my-name"); orig.setPdpGroup("my-group"); orig.setPdpSubgroup("my-subgroup"); - orig.setPdpType("my-type"); ToscaPolicy policy1 = new ToscaPolicy(); policy1.setName("policy-a"); @@ -65,7 +64,7 @@ public class TestPdpUpdate { PdpUpdate other = new PdpUpdate(orig); - assertEquals("PdpUpdate(name=my-name, pdpType=my-type, description=my-description, " + assertEquals("PdpUpdate(name=my-name, description=my-description, " + "pdpGroup=my-group, pdpSubgroup=my-subgroup, policies=[" + "ToscaPolicy(super=ToscaEntity(name=policy-a, version=1.2.3, derivedFrom=null, " + "metadata=null, description=null), type=null, typeVersion=null, properties=null), " |